diff options
author | bell@sanja.is.com.ua <> | 2004-03-16 20:19:36 +0200 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2004-03-16 20:19:36 +0200 |
commit | 579a94a328b5dd36bf1395182c3fd9055fe2f43d (patch) | |
tree | 6e954db823df900691a00fd3e9d8de7194309d6f /sql/item_func.cc | |
parent | 446b1bd260f2f5788d58efa47322d54f9d997f26 (diff) | |
download | mariadb-git-579a94a328b5dd36bf1395182c3fd9055fe2f43d.tar.gz |
after review & some other fixes
Diffstat (limited to 'sql/item_func.cc')
-rw-r--r-- | sql/item_func.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc index 276dbfe1956..ae7a53951b1 100644 --- a/sql/item_func.cc +++ b/sql/item_func.cc @@ -959,7 +959,6 @@ double Item_func_round::val() return tmp2; } - void Item_func_rand::fix_length_and_dec() { decimals=NOT_FIXED_DEC; @@ -990,6 +989,12 @@ void Item_func_rand::fix_length_and_dec() } } +void Item_func_rand::update_used_tables() +{ + Item_real_func::update_used_tables(); + used_tables_cache|= RAND_TABLE_BIT; +} + double Item_func_rand::val() { |