summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
authorunknown <nick@mysql.com>2002-10-22 15:17:17 -0600
committerunknown <nick@mysql.com>2002-10-22 15:17:17 -0600
commitd326428c41429ea501d4b9098ab3d6084733bb32 (patch)
tree599b4e1aaa80541b807a59a9d9a5538337e4d2f3 /sql/sql_parse.cc
parentd2e52820f6b8f4d345af2a5e5c6a5fa792171757 (diff)
downloadmariadb-git-d326428c41429ea501d4b9098ab3d6084733bb32.tar.gz
Added Rand_log_event
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index 693de0dccb7..bdc6ab16a0e 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -2724,6 +2724,7 @@ mysql_init_query(THD *thd)
thd->fatal_error=0; // Safety
thd->last_insert_id_used=thd->query_start_used=thd->insert_id_used=0;
thd->sent_row_count=thd->examined_row_count=0;
+ thd->rand_used=0;
thd->safe_to_cache_query=1;
DBUG_VOID_RETURN;
}