diff options
author | bell@sanja.is.com.ua <> | 2004-03-16 08:32:21 +0200 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2004-03-16 08:32:21 +0200 |
commit | e8a92428933398e81a6f5dc38200d4d5352470c8 (patch) | |
tree | d449ac778a43b170a2c84361ebed5a07bc2e9dda /sql/item_func.cc | |
parent | ac8c1cc4bece8f93951e2784f8005787a915c052 (diff) | |
parent | 8187b23043b86ed0951c67d6d04428817aa8c888 (diff) | |
download | mariadb-git-e8a92428933398e81a6f5dc38200d4d5352470c8.tar.gz |
merge
Diffstat (limited to 'sql/item_func.cc')
-rw-r--r-- | sql/item_func.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc index 878c4d2ea5f..7ed19d7506c 100644 --- a/sql/item_func.cc +++ b/sql/item_func.cc @@ -954,6 +954,7 @@ void Item_func_rand::fix_length_and_dec() { decimals=NOT_FIXED_DEC; max_length=float_length(decimals); + used_tables_cache|= RAND_TABLE_BIT; if (arg_count) { // Only use argument once in query uint32 tmp= (uint32) (args[0]->val_int()); |