diff options
author | monty@hundin.mysql.fi <> | 2001-11-18 14:13:09 +0200 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2001-11-18 14:13:09 +0200 |
commit | c76c42066e27c342b06efe1c6151296fcd5e8247 (patch) | |
tree | ac61eb5749e9c9b5338d01ad102f492ed0891c44 /sql/item_func.cc | |
parent | 7a45e7f2667141e5dff5570299f8ed13fbc40b9d (diff) | |
download | mariadb-git-c76c42066e27c342b06efe1c6151296fcd5e8247.tar.gz |
Test of optimize table.
Diffstat (limited to 'sql/item_func.cc')
-rw-r--r-- | sql/item_func.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc index 1ca511be485..6657d860592 100644 --- a/sql/item_func.cc +++ b/sql/item_func.cc @@ -621,8 +621,8 @@ double Item_func_rand::val() { if (arg_count) { // Only use argument once in query - ulong tmp=((ulong) args[0]->val_int())+55555555L; - randominit(¤t_thd->rand,tmp,tmp/2); + ulong tmp=((ulong) args[0]->val_int()); + randominit(¤t_thd->rand,tmp*0x10001L+55555555L,tmp*0x10000001L); #ifdef DELETE_ITEMS delete args[0]; #endif |