summaryrefslogtreecommitdiff
path: root/sql/item_func.h
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2004-02-05 12:32:22 +0200
committerunknown <bell@sanja.is.com.ua>2004-02-05 12:32:22 +0200
commit00b357cdee49324acdef4c14ee066a13f4a3b244 (patch)
treed54f9f9277ebe0079cf81ea3ba89818724af02da /sql/item_func.h
parent502872c06f46c38f13036ed2db36d549356da8ec (diff)
downloadmariadb-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.h1
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();
};