mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Manual merge from mysql-trunk-merge.
Conflicts: - mysql-test/suite/binlog/t/binlog_write_error.test - sql/log.cc - sql/log_event.cc - sql/log_event_old.cc - sql/mysql_priv.h - sql/sp.cc - sql/sql_acl.cc - sql/sql_base.cc - sql/sql_delete.cc - sql/sql_insert.cc - sql/sql_load.cc - sql/sql_table.cc - sql/sql_udf.cc - sql/sql_update.cc - sql/sql_view.cc
This commit is contained in:
@ -1753,7 +1753,7 @@ static int binlog_rollback(handlerton *hton, THD *thd, bool all)
|
||||
*/
|
||||
if (cache_mngr->stmt_cache.has_incident())
|
||||
{
|
||||
mysql_bin_log.write_incident(thd, TRUE);
|
||||
error= mysql_bin_log.write_incident(thd, TRUE);
|
||||
cache_mngr->reset_cache(&cache_mngr->stmt_cache);
|
||||
}
|
||||
else if (!cache_mngr->stmt_cache.empty())
|
||||
|
Reference in New Issue
Block a user