summaryrefslogtreecommitdiff
path: root/sql/sql_rename.cc
diff options
context:
space:
mode:
authorunknown <paul@teton.kitebird.com>2003-12-19 10:21:15 -0600
committerunknown <paul@teton.kitebird.com>2003-12-19 10:21:15 -0600
commit69d65bd82c667fdef8525d1e4a1b244d9b6206af (patch)
tree1013ab7d2a889479858461b186874bc902609759 /sql/sql_rename.cc
parent9d141adf4c37bdb48a6148d412f6aa8bd6154838 (diff)
parentbfe77e3398944bed4c919ba0c7477a4318d9f2cc (diff)
downloadmariadb-git-69d65bd82c667fdef8525d1e4a1b244d9b6206af.tar.gz
Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1
into teton.kitebird.com:/home/paul/mysql-4.1
Diffstat (limited to 'sql/sql_rename.cc')
-rw-r--r--sql/sql_rename.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_rename.cc b/sql/sql_rename.cc
index 19b4d299e59..3ab6621f35b 100644
--- a/sql/sql_rename.cc
+++ b/sql/sql_rename.cc
@@ -82,6 +82,7 @@ bool mysql_rename_tables(THD *thd, TABLE_LIST *table_list)
mysql_update_log.write(thd,thd->query,thd->query_length);
if (mysql_bin_log.is_open())
{
+ thd->clear_error();
Query_log_event qinfo(thd, thd->query, thd->query_length, 0);
mysql_bin_log.write(&qinfo);
}