summaryrefslogtreecommitdiff
path: root/sql/item_func.cc
diff options
context:
space:
mode:
authorunknown <nick@mysql.com>2002-10-24 16:04:38 -0600
committerunknown <nick@mysql.com>2002-10-24 16:04:38 -0600
commitd39f52780eac383763acf7e3ace1f9daece305bf (patch)
treec536352654beb538445086ca72d5d772a969a946 /sql/item_func.cc
parent47ffb583cad29523588aa43be2546c311308d5b2 (diff)
downloadmariadb-git-d39f52780eac383763acf7e3ace1f9daece305bf.tar.gz
fixed prev. commit (was commited in disabled state)
Diffstat (limited to 'sql/item_func.cc')
-rw-r--r--sql/item_func.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc
index bea1b2747b6..7da5435276d 100644
--- a/sql/item_func.cc
+++ b/sql/item_func.cc
@@ -709,7 +709,7 @@ double Item_func_rand::val()
#endif
arg_count=0;
}
- else if (0)//!thd->rand_used)
+ else if (!thd->rand_used)
{
// no need to send a Rand log event if seed was given eg: RAND(seed),
// as it will be replicated in the query as such.