summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2002-06-10 15:51:14 +0300
committerunknown <monty@hundin.mysql.fi>2002-06-10 15:51:14 +0300
commita17ad22af4d837020619f7480e89ff5bb0c066a6 (patch)
tree0fb2fc6e360c07f1236397714ce42b58a2647f63 /sql
parent47c4352b5842383bbdbbfea3c0b5e91716c87058 (diff)
parent9b4ac8b1c2be75e61efa71cf5c79e9a250d55d6c (diff)
downloadmariadb-git-a17ad22af4d837020619f7480e89ff5bb0c066a6.tar.gz
Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_base.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_base.cc b/sql/sql_base.cc
index e4a797efaaf..ee8c1097fb2 100644
--- a/sql/sql_base.cc
+++ b/sql/sql_base.cc
@@ -546,6 +546,7 @@ void close_temporary_tables(THD *thd)
*--end = 0; // Remove last ','
thd->query_length = (uint)(end-query);
Query_log_event qinfo(thd, query);
+ qinfo.error_code=0;
mysql_bin_log.write(&qinfo);
thd->query_length = save_query_len;
}