diff options
| author | Georgi Kodinov <Georgi.Kodinov@Oracle.com> | 2010-12-17 15:10:40 +0200 |
|---|---|---|
| committer | Georgi Kodinov <Georgi.Kodinov@Oracle.com> | 2010-12-17 15:10:40 +0200 |
| commit | 24a40d0b7728515559c4b99af20acb70d3d36950 (patch) | |
| tree | 92da3d894dbdc908aa82e7c7566fc89d92c432e9 /sql/sql_load.cc | |
| parent | 8dc1e33487976d8379273f5942fa9f6e81022048 (diff) | |
| parent | ce80181720e7fb8818578ce06b18b001a95daa23 (diff) | |
| download | mariadb-git-24a40d0b7728515559c4b99af20acb70d3d36950.tar.gz | |
merge
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 ca1005b28c7..f2530781d48 100644 --- a/sql/sql_load.cc +++ b/sql/sql_load.cc @@ -624,6 +624,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; |
