diff options
author | unknown <bell@sanja.is.com.ua> | 2003-05-14 21:51:33 +0300 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2003-05-14 21:51:33 +0300 |
commit | a32b868c3b930b512ffd840c2708e0ee894507b1 (patch) | |
tree | dd5bbcb7c0561f00a367fdeab1296efdea9012ca /sql/item_cmpfunc.h | |
parent | 79c53934bec3cb6504f8cf8b1c6d8d465b12a149 (diff) | |
download | mariadb-git-a32b868c3b930b512ffd840c2708e0ee894507b1.tar.gz |
subselect transformation moved in after-fix_field place
removed "of is null" if it is possible
(this cset should be SCRUM related, but not approved as scrum task yet)
mysql-test/r/subselect.result:
new subselect test result (new place of error detecting & and more subselect reducing)
sql/item.cc:
layout fix
sql/item.h:
unneed ';'
fixed print pethod
sql/item_cmpfunc.cc:
new method to support transformation after fix_fields
sql/item_cmpfunc.h:
new method to support transformation after fix_fields
fixed Item printing
sql/item_subselect.cc:
new transformation
sql/item_subselect.h:
new transformation
sql/sql_derived.cc:
'table' & 'table_list' now is not union
sql/sql_lex.cc:
'table' & 'table_list' now is not union to support reinit only shared tables (but all)
sql/sql_lex.h:
mark fake st_select_lex
sql/sql_olap.cc:
fixed table assignment
TODO added
sql/sql_select.cc:
'table' & 'table_list' now is not union
transforming subselect
sql/sql_union.cc:
prepare make on fix_fields
sql/sql_yacc.yy:
fixed layout
sql/table.h:
'table & 'table_list' now is different fields
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r-- | sql/item_cmpfunc.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h index 5e246e3e285..a49eeb12ec1 100644 --- a/sql/item_cmpfunc.h +++ b/sql/item_cmpfunc.h @@ -91,9 +91,8 @@ protected: public: Item_in_optimizer(Item *a, Item_in_subselect *b): Item_bool_func(a, (Item *)b), cache(0) {} - // used by row in transformer - bool preallocate_row(); bool fix_fields(THD *, struct st_table_list *, Item **); + bool fix_left(THD *thd, struct st_table_list *tables, Item **ref); bool is_null(); /* Item_in_optimizer item is special boolean function. On value request @@ -103,7 +102,7 @@ public: Item_in_optimizer return NULL, else it evaluate Item_in_subselect. */ longlong val_int(); - + const char *func_name() const { return "IN_OPTIMIZER"; } Item_cache **get_cache() { return &cache; } }; |