summaryrefslogtreecommitdiff
path: root/sql/item_subselect.h
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2017-11-01 21:42:26 -0700
committerIgor Babaev <igor@askmonty.org>2017-11-01 21:42:26 -0700
commit6f1b6061d8e7aa867970c6827e6737c35ee8a254 (patch)
tree412e4263ad9a6f3d06736f59187fd8759c266f88 /sql/item_subselect.h
parent613dd62a76b51df38b96e36bce5bd8b7be2ca73a (diff)
parent34737e0cee5cd101a23c19d1f30b872a45393382 (diff)
downloadmariadb-git-6f1b6061d8e7aa867970c6827e6737c35ee8a254.tar.gz
Merge remote-tracking branch 'shagalla/10.3-mdev12172' into 10.3
As a result of this merge the code for the following tasks appears in 10.3: - MDEV-12172 Implement tables specified by table value constructors - MDEV-12176 Transform [NOT] IN predicate with long list of values INTO [NOT] IN subquery.
Diffstat (limited to 'sql/item_subselect.h')
-rw-r--r--sql/item_subselect.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/item_subselect.h b/sql/item_subselect.h
index 6112c1c22f4..14394bf6342 100644
--- a/sql/item_subselect.h
+++ b/sql/item_subselect.h
@@ -266,6 +266,7 @@ public:
Item* build_clone(THD *thd, MEM_ROOT *mem_root) { return 0; }
Item* get_copy(THD *thd, MEM_ROOT *mem_root) { return 0; }
+ bool wrap_tvc_in_derived_table(THD *thd, st_select_lex *tvc_sl);
friend class select_result_interceptor;
friend class Item_in_optimizer;
@@ -878,6 +879,7 @@ public:
virtual enum_engine_type engine_type() { return SINGLE_SELECT_ENGINE; }
int get_identifier();
void force_reexecution();
+ void change_select(st_select_lex *new_select) { select_lex= new_select; }
friend class subselect_hash_sj_engine;
friend class Item_in_subselect;