diff options
author | Galina Shalygina <galina.shalygina@mariadb.com> | 2019-02-18 20:37:23 +0300 |
---|---|---|
committer | Galina Shalygina <galina.shalygina@mariadb.com> | 2019-02-18 20:37:23 +0300 |
commit | e4f1094c5074e4931cca82fc45a82c1fe1ac8963 (patch) | |
tree | 9a74b91ae5a74a6edf7717ea7b68d3ca4b8fb6fa /sql/item_func.h | |
parent | 7a77b221f18c74c6e6e04bf7a211647d22a7a8b7 (diff) | |
download | mariadb-git-e4f1094c5074e4931cca82fc45a82c1fe1ac8963.tar.gz |
MDEV-7468 Fix for crash caused by connect.json_udf test
It was allowed to push UDF functions and that caused a crash.
To fix it it was forbidden to push UDF functions from HAVING into WHERE.
Diffstat (limited to 'sql/item_func.h')
-rw-r--r-- | sql/item_func.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/item_func.h b/sql/item_func.h index 3bf58275f52..6408cf4dd55 100644 --- a/sql/item_func.h +++ b/sql/item_func.h @@ -2327,6 +2327,8 @@ public: } bool excl_dep_on_grouping_fields(st_select_lex *sel) { return false; } + bool excl_dep_on_group_fields_for_having_pushdown(st_select_lex *sel) + { return false;} }; |