diff options
author | unknown <bell@sanja.is.com.ua> | 2005-03-10 14:01:22 +0200 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2005-03-10 14:01:22 +0200 |
commit | 070fe467a3351ae2fbd6a056fec12d015ac27d67 (patch) | |
tree | d58b3c1b29654a2dcd4c2e0d22783b317176b905 /sql/item_subselect.h | |
parent | 100f79260259603d1a9f1cb9e1c052217f828dc2 (diff) | |
download | mariadb-git-070fe467a3351ae2fbd6a056fec12d015ac27d67.tar.gz |
fixed left expression of IN/ALL/ANY subquery transformation support (BUG#8888)
mysql-test/r/subselect.result:
result changing
fixed last test
test of transformation of left expression of subquery
mysql-test/t/subselect.test:
fixed last test
test of transformation of left expression of subquery
sql/item_subselect.cc:
fixfields made for left part of IN/ALL/ANY subquery before calling cols() to detect type of transformation (scalar or row)
similar action of both transformation moved to separate function
sql/item_subselect.h:
optimised field initialization and new method
Diffstat (limited to 'sql/item_subselect.h')
-rw-r--r-- | sql/item_subselect.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/item_subselect.h b/sql/item_subselect.h index ab2d441ed7a..7582429fbb3 100644 --- a/sql/item_subselect.h +++ b/sql/item_subselect.h @@ -220,8 +220,8 @@ public: Item_in_subselect(Item * left_expr, st_select_lex *select_lex); Item_in_subselect() - :Item_exists_subselect(), abort_on_null(0), transformed(0), upper_item(0) - + :Item_exists_subselect(), optimizer(0), abort_on_null(0), transformed(0), + upper_item(0) {} subs_type substype() { return IN_SUBS; } @@ -232,8 +232,8 @@ public: was_null= 0; } trans_res select_transformer(JOIN *join); - trans_res single_value_transformer(JOIN *join, - Comp_creator *func); + trans_res select_in_like_transformer(JOIN *join, Comp_creator *func); + trans_res single_value_transformer(JOIN *join, Comp_creator *func); trans_res row_value_transformer(JOIN * join); longlong val_int(); double val(); |