summaryrefslogtreecommitdiff
path: root/sql/item_subselect.h
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2015-08-05 11:57:35 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2015-10-06 13:12:58 +0200
commit504802f333d3ba2a7385ca14f5b40a3facc72de8 (patch)
treee31570e3ee89255bf2be2a2676613cb9cef415e5 /sql/item_subselect.h
parent54b998173b128bb8362b5dbafbd66c4199776937 (diff)
downloadmariadb-git-504802f333d3ba2a7385ca14f5b40a3facc72de8.tar.gz
MDEV-7846: postreview fix
Diffstat (limited to 'sql/item_subselect.h')
-rw-r--r--sql/item_subselect.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/item_subselect.h b/sql/item_subselect.h
index 930bd665e3a..0ee5f73eb35 100644
--- a/sql/item_subselect.h
+++ b/sql/item_subselect.h
@@ -449,6 +449,11 @@ protected:
Item **having_item);
public:
Item *left_expr;
+ /*
+ Important for PS/SP: left_expr_orig is the item that left_expr originally
+ pointed at. That item is allocated on the statement arena, while
+ left_expr could later be changed to something on the execution arena.
+ */
Item *left_expr_orig;
/* Priority of this predicate in the convert-to-semi-join-nest process. */
int sj_convert_priority;