diff options
author | Alexey Botchkov <holyfoot@askmonty.org> | 2017-08-11 00:50:29 +0400 |
---|---|---|
committer | Alexey Botchkov <holyfoot@askmonty.org> | 2017-08-11 00:50:29 +0400 |
commit | 79d28533549d15e848b342cf518ae4b409ba3e64 (patch) | |
tree | defca6f922ea782facd0b36f5cec20e2fb4d0cc7 /sql/item_cmpfunc.h | |
parent | bfffe571accb93c80066b070688e6712d4cb5643 (diff) | |
download | mariadb-git-79d28533549d15e848b342cf518ae4b409ba3e64.tar.gz |
MDEV-12604 Comparison of JSON_EXTRACT result differs with Mysql.
JSON_EXTRACT behaves specifically in the comparison,
so we have to implement specific method for that in
Arg_comparator.
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r-- | sql/item_cmpfunc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h index 8ff789d983a..131062dab36 100644 --- a/sql/item_cmpfunc.h +++ b/sql/item_cmpfunc.h @@ -106,6 +106,12 @@ public: int compare_e_datetime() { return compare_e_temporal(MYSQL_TYPE_DATETIME); } int compare_time() { return compare_temporal(MYSQL_TYPE_TIME); } int compare_e_time() { return compare_e_temporal(MYSQL_TYPE_TIME); } + int compare_json_str_basic(Item *j, Item *s); + int compare_json_str(); + int compare_str_json(); + int compare_e_json_str_basic(Item *j, Item *s); + int compare_e_json_str(); + int compare_e_str_json(); Item** cache_converted_constant(THD *thd, Item **value, Item **cache, Item_result type); |