summaryrefslogtreecommitdiff
path: root/sql/sql_load.cc
diff options
context:
space:
mode:
authorunknown <aelkin@dl145j.mysql.com>2007-09-15 21:25:56 +0200
committerunknown <aelkin@dl145j.mysql.com>2007-09-15 21:25:56 +0200
commite35c1ab9a287264ec167f6c17c690aabbf921715 (patch)
treefc09beb28356b1412aac29629c639e209c908fe6 /sql/sql_load.cc
parent48f38afb8ee84ea6a08710374a54098581683444 (diff)
parent69604f4db10f125651ab0620320dbd91253c5bc6 (diff)
downloadmariadb-git-e35c1ab9a287264ec167f6c17c690aabbf921715.tar.gz
Merge dl145j.mysql.com:/tmp/andrei/mysql-5.0-rpl
into dl145j.mysql.com:/tmp/andrei/5.1-merge BitKeeper/deleted/.del-sp_trans_log.result: Auto merged BitKeeper/deleted/.del-sp_trans_log.test: Auto merged mysql-test/suite/rpl/r/rpl_packet.result: Auto merged sql/sql_delete.cc: Auto merged sql/sql_update.cc: Auto merged mysql-test/suite/binlog/r/binlog_stm_mix_innodb_myisam.result: should be re-recorded mysql-test/extra/binlog_tests/mix_innodb_myisam_binlog.test: manual merge mysql-test/suite/rpl/t/rpl_packet.test: manual merge sql/slave.cc: manual merge sql/sql_insert.cc: manual merge - installing 5.0 patch logics sql/sql_load.cc: manual merge
Diffstat (limited to 'sql/sql_load.cc')
-rw-r--r--sql/sql_load.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_load.cc b/sql/sql_load.cc
index 8bbe1e413b3..23547349a37 100644
--- a/sql/sql_load.cc
+++ b/sql/sql_load.cc
@@ -445,7 +445,7 @@ bool mysql_load(THD *thd,sql_exchange *ex,TABLE_LIST *table_list,
/* If the file was not empty, wrote_create_file is true */
if (lf_info.wrote_create_file)
{
- if ((info.copied || info.deleted) && !transactional_table)
+ if (thd->transaction.stmt.modified_non_trans_table)
write_execute_load_query_log_event(thd, handle_duplicates,
ignore, transactional_table);
else