summaryrefslogtreecommitdiff
path: root/sql/item_jsonfunc.h
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2021-03-17 09:03:45 +0400
committerAlexey Botchkov <holyfoot@askmonty.org>2021-04-21 10:21:43 +0400
commite9fd327ee313088b9a8f497f1c1409990ce6c1cd (patch)
tree377a1dc735b35e99d56915d71077730c8cbebfb9 /sql/item_jsonfunc.h
parenta3099a3b4a394da360b5c1e7ae6dc985ae2f7f2f (diff)
downloadmariadb-git-e9fd327ee313088b9a8f497f1c1409990ce6c1cd.tar.gz
MDEV-17399 Add support for JSON_TABLE.
The specific table handler for the table functions was introduced, and used to implement JSON_TABLE.
Diffstat (limited to 'sql/item_jsonfunc.h')
-rw-r--r--sql/item_jsonfunc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/item_jsonfunc.h b/sql/item_jsonfunc.h
index ec6c6696001..519bad3f6f3 100644
--- a/sql/item_jsonfunc.h
+++ b/sql/item_jsonfunc.h
@@ -41,6 +41,13 @@ public:
};
+void report_path_error_ex(const char *ps, json_path_t *p,
+ const char *fname, int n_param,
+ Sql_condition::enum_warning_level lv);
+void report_json_error_ex(const char *js, json_engine_t *je,
+ const char *fname, int n_param,
+ Sql_condition::enum_warning_level lv);
+
class Json_engine_scan: public json_engine_t
{
public: