diff options
author | monty@mysql.com <> | 2004-05-17 01:52:13 +0300 |
---|---|---|
committer | monty@mysql.com <> | 2004-05-17 01:52:13 +0300 |
commit | cd3dab49cc4f3b227b65419a5f12f66c4e0a76a0 (patch) | |
tree | b9fa88577b516df5fb27de3970ec9eab9aaef532 /sql/log_event.cc | |
parent | a79a3f5724cb577a37f3337ca7ae429b6dc56e9c (diff) | |
parent | 1e860400f3a260c01a00bada514df7f34ec462c0 (diff) | |
download | mariadb-git-cd3dab49cc4f3b227b65419a5f12f66c4e0a76a0.tar.gz |
Merge with 4.0.20
Diffstat (limited to 'sql/log_event.cc')
-rw-r--r-- | sql/log_event.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/log_event.cc b/sql/log_event.cc index b3ec1f0fe55..9cbcead743f 100644 --- a/sql/log_event.cc +++ b/sql/log_event.cc @@ -1058,6 +1058,7 @@ end: VOID(pthread_mutex_lock(&LOCK_thread_count)); thd->db= 0; // prevent db from being freed thd->query= 0; // just to be sure + thd->query_length= 0; VOID(pthread_mutex_unlock(&LOCK_thread_count)); // assume no convert for next query unless set explictly #ifdef TO_BE_REMOVED @@ -1674,6 +1675,7 @@ int Load_log_event::exec_event(NET* net, struct st_relay_log_info* rli, thd->db= (char*) rewrite_db(db); DBUG_ASSERT(thd->query == 0); thd->query= 0; // Should not be needed + thd->querty_length= 0; // Should not be needed thd->query_error= 0; clear_all_errors(thd, rli); if (!use_rli_only_for_errors) |