diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2015-04-23 20:08:57 +0200 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2015-10-06 13:12:58 +0200 |
commit | 54b998173b128bb8362b5dbafbd66c4199776937 (patch) | |
tree | 60ab4e9cd8a19d3b04ff0ef336794028bb857ab9 /sql/item_subselect.h | |
parent | 0ab93fd6f3050cabac5fbb503173c95bb7073cfc (diff) | |
download | mariadb-git-54b998173b128bb8362b5dbafbd66c4199776937.tar.gz |
MDEV-7846: Server crashes in Item_subselect::fix_fields or fails with Thread stack overrun
Substitute into transformed subselects original left expression and than register its change in case it was substituted.
Diffstat (limited to 'sql/item_subselect.h')
-rw-r--r-- | sql/item_subselect.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_subselect.h b/sql/item_subselect.h index 592e7711a10..930bd665e3a 100644 --- a/sql/item_subselect.h +++ b/sql/item_subselect.h @@ -449,6 +449,7 @@ protected: Item **having_item); public: Item *left_expr; + Item *left_expr_orig; /* Priority of this predicate in the convert-to-semi-join-nest process. */ int sj_convert_priority; /* |