diff options
author | lars@mysql.com <> | 2005-12-22 06:39:02 +0100 |
---|---|---|
committer | lars@mysql.com <> | 2005-12-22 06:39:02 +0100 |
commit | ad126d90e019f223470e73e1b2b528f9007c4532 (patch) | |
tree | 192a6c65973c50f6a436a8c6e6bb19efa2ed2419 /sql/sql_rename.cc | |
parent | 0f8f444b8be51db1265a3c30a576c9e404b86071 (diff) | |
download | mariadb-git-ad126d90e019f223470e73e1b2b528f9007c4532.tar.gz |
WL#1012: All changes as one single changeset.
This includes both code and test cases.
Diffstat (limited to 'sql/sql_rename.cc')
-rw-r--r-- | sql/sql_rename.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_rename.cc b/sql/sql_rename.cc index 2c8c732fe86..a1bbb69bc17 100644 --- a/sql/sql_rename.cc +++ b/sql/sql_rename.cc @@ -84,8 +84,8 @@ bool mysql_rename_tables(THD *thd, TABLE_LIST *table_list) if (mysql_bin_log.is_open()) { thd->clear_error(); - Query_log_event qinfo(thd, thd->query, thd->query_length, 0, FALSE); - mysql_bin_log.write(&qinfo); + thd->binlog_query(THD::STMT_QUERY_TYPE, + thd->query, thd->query_length, FALSE, FALSE); } send_ok(thd); } |