diff options
author | unknown <sanja@hasky.mysql.fi> | 2005-08-13 08:19:34 +0300 |
---|---|---|
committer | unknown <sanja@hasky.mysql.fi> | 2005-08-13 08:19:34 +0300 |
commit | ad888850c0f7b754a31e58c5a6ad37cb62180716 (patch) | |
tree | 94c0a5c04e93056120573588429361768a4daf0b /sql/item_cmpfunc.h | |
parent | d32c4314ed5935e7a03f443e3f26bae47e572600 (diff) | |
parent | e8d9dccb3dd98dfd7973a94d1eafc0b100101deb (diff) | |
download | mariadb-git-ad888850c0f7b754a31e58c5a6ad37cb62180716.tar.gz |
Merge abelkin@bk-internal.mysql.com:/home/bk/mysql-4.1
into hasky.mysql.fi:/home/sanja/work-merge-5.0
mysql-test/r/subselect.result:
Auto merged
mysql-test/t/subselect.test:
Auto merged
sql/item.h:
Auto merged
sql/item_cmpfunc.h:
Auto merged
sql/sql_parse.cc:
Auto merged
sql/sql_select.cc:
Auto merged
sql/item_subselect.cc:
merge
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r-- | sql/item_cmpfunc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h index 75c8411b844..a4165407159 100644 --- a/sql/item_cmpfunc.h +++ b/sql/item_cmpfunc.h @@ -913,6 +913,11 @@ public: longlong val_int(); const char *func_name() const { return "<is_not_null_test>"; } void update_used_tables(); + /* + we add RAND_TABLE_BIT to prevent moving this item from HAVING to WHERE + */ + table_map used_tables() const + { return used_tables_cache | RAND_TABLE_BIT; } }; |