diff options
author | unknown <bell@sanja.is.com.ua> | 2004-02-05 12:32:22 +0200 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2004-02-05 12:32:22 +0200 |
commit | 00b357cdee49324acdef4c14ee066a13f4a3b244 (patch) | |
tree | d54f9f9277ebe0079cf81ea3ba89818724af02da /sql/item_func.h | |
parent | 502872c06f46c38f13036ed2db36d549356da8ec (diff) | |
download | mariadb-git-00b357cdee49324acdef4c14ee066a13f4a3b244.tar.gz |
correct processing of rand() in subqueries with static tables (BUG#2645)
mysql-test/r/subselect.result:
test of execution plan of subqueries with static tables and rand()
mysql-test/t/subselect.test:
test of execution plan of subqueries with static tables and rand()
sql/item_func.cc:
use normal Item_func mechanism to report used tables
sql/item_func.h:
use normal Item_func mechanism to report used tables
sql/sql_select.cc:
correct processing of rand() in subqueries with static tables
Diffstat (limited to 'sql/item_func.h')
-rw-r--r-- | sql/item_func.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/item_func.h b/sql/item_func.h index be20a9b4fc7..8859311f64b 100644 --- a/sql/item_func.h +++ b/sql/item_func.h @@ -504,7 +504,6 @@ public: double val(); const char *func_name() const { return "rand"; } bool const_item() const { return 0; } - table_map used_tables() const { return RAND_TABLE_BIT; } void fix_length_and_dec(); }; |