File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -351,7 +351,9 @@ class Item_func : public Item_result_field {
351351 JSON_STORAGE_SIZE_FUNC,
352352 JSON_STORAGE_FREE_FUNC,
353353 JSON_VALUE_FUNC,
354- JSON_SEARCH_FUNC
354+ JSON_SEARCH_FUNC,
355+ JSON_SCHEMA_VALIDATION_REPORT_FUNC,
356+ JSON_SCHEMA_VALID_FUNC
355357 };
356358 enum optimize_type {
357359 OPTIMIZE_NONE,
Original file line number Diff line number Diff line change @@ -346,6 +346,7 @@ class Item_func_json_schema_valid final : public Item_bool_func {
346346 ~Item_func_json_schema_valid () override ;
347347
348348 const char *func_name () const override { return " json_schema_valid" ; }
349+ enum Functype functype () const override { return JSON_SCHEMA_VALID_FUNC; }
349350
350351 bool val_bool () override ;
351352
@@ -373,6 +374,10 @@ class Item_func_json_schema_validation_report final : public Item_json_func {
373374 return " json_schema_validation_report" ;
374375 }
375376
377+ enum Functype functype () const override {
378+ return JSON_SCHEMA_VALIDATION_REPORT_FUNC;
379+ }
380+
376381 bool val_json (Json_wrapper *wr) override ;
377382
378383 bool resolve_type (THD *thd) override {
You can’t perform that action at this time.
0 commit comments