diff options
author | Luis Soares <luis.soares@oracle.com> | 2010-12-07 16:11:13 +0000 |
---|---|---|
committer | Luis Soares <luis.soares@oracle.com> | 2010-12-07 16:11:13 +0000 |
commit | 5d6e142b2b9a5973fc9b9a638e01e5b92223e4c8 (patch) | |
tree | b5babca4ee608dc5e5daf9722eeb5c8414974565 /sql/sql_load.cc | |
parent | c872e3db8027e4e4638af9bd80b9d78c8a675a77 (diff) | |
parent | bd0709cc8726e2d189df71138488ff7b2b004460 (diff) | |
download | mariadb-git-5d6e142b2b9a5973fc9b9a638e01e5b92223e4c8.tar.gz |
BUG#46166
Manual merge from mysql-5.1-bugteam into mysql-5.5-bugteam.
Conflicts
=========
Text conflict in sql/log.cc
Text conflict in sql/log.h
Text conflict in sql/slave.cc
Text conflict in sql/sql_parse.cc
Text conflict in sql/sql_priv.h
Diffstat (limited to 'sql/sql_load.cc')
-rw-r--r-- | sql/sql_load.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/sql_load.cc b/sql/sql_load.cc index ca6e0d818e2..5ec6e4a0467 100644 --- a/sql/sql_load.cc +++ b/sql/sql_load.cc @@ -625,6 +625,13 @@ int mysql_load(THD *thd,sql_exchange *ex,TABLE_LIST *table_list, transactional_table, errcode); } + + /* + Flushing the IO CACHE while writing the execute load query log event + may result in error (for instance, because the max_binlog_size has been + reached, and rotation of the binary log failed). + */ + error= error || mysql_bin_log.get_log_file()->error; } if (error) goto err; |