summaryrefslogtreecommitdiff
path: root/sql/item_func.cc
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2004-03-16 16:30:08 +0200
committerunknown <bell@sanja.is.com.ua>2004-03-16 16:30:08 +0200
commitd69111f53590e0b385cbd3987811ffec7bd1b5cb (patch)
tree41a7fa4a58d9bc093eeea1ca26c3e0597f9a421a /sql/item_func.cc
parentefecd744f9d0435251486d0b2b2bae2ffb95692c (diff)
parentcecf1965be55beda77d806cec1eef020ae4b9294 (diff)
downloadmariadb-git-d69111f53590e0b385cbd3987811ffec7bd1b5cb.tar.gz
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
into sanja.is.com.ua:/home/bell/mysql/bk/work-rand-4.1 sql/item_func.cc: Auto merged
Diffstat (limited to 'sql/item_func.cc')
-rw-r--r--sql/item_func.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc
index 88c2bf824c6..276dbfe1956 100644
--- a/sql/item_func.cc
+++ b/sql/item_func.cc
@@ -964,6 +964,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());