diff options
author | He Zhenxing <zhenxing.he@sun.com> | 2009-04-09 07:42:51 +0800 |
---|---|---|
committer | He Zhenxing <zhenxing.he@sun.com> | 2009-04-09 07:42:51 +0800 |
commit | 435d6631aa6cd647a771c248279161783422b5f2 (patch) | |
tree | 22e49a89755096df5a854d1016d5e19cc163820a /sql/sql_table.cc | |
parent | bd19731a7d4d35d9d74aafab9dc218c133ef3ddb (diff) | |
parent | 95301268221bfcf72baaa9f34f234ff6231235c8 (diff) | |
download | mariadb-git-435d6631aa6cd647a771c248279161783422b5f2.tar.gz |
Manually merge BUG#37145 to 5.1-bugteam
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r-- | sql/sql_table.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc index 842ece1dec4..64fc72ae96f 100644 --- a/sql/sql_table.cc +++ b/sql/sql_table.cc @@ -1463,7 +1463,7 @@ void write_bin_log(THD *thd, bool clear_error, if (clear_error) thd->clear_error(); thd->binlog_query(THD::STMT_QUERY_TYPE, - query, query_length, FALSE, FALSE); + query, query_length, FALSE, FALSE, THD::NOT_KILLED); } } @@ -6165,7 +6165,8 @@ bool mysql_alter_table(THD *thd,char *new_db, char *new_name, if (mysql_bin_log.is_open()) { thd->clear_error(); - Query_log_event qinfo(thd, thd->query, thd->query_length, 0, FALSE); + Query_log_event qinfo(thd, thd->query, thd->query_length, + 0, FALSE, THD::NOT_KILLED); mysql_bin_log.write(&qinfo); } my_ok(thd); |