mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Initial merge result with mariaDB 10: lp:maria
This commit is contained in:
@@ -424,7 +424,11 @@ cleanup:
|
||||
/* See similar binlogging code in sql_update.cc, for comments */
|
||||
if ((error < 0) || thd->transaction.stmt.modified_non_trans_table)
|
||||
{
|
||||
#ifdef WITH_WSREP
|
||||
if ((WSREP_EMULATE_BINLOG(thd) || mysql_bin_log.is_open()))
|
||||
#else
|
||||
if (mysql_bin_log.is_open())
|
||||
#endif
|
||||
{
|
||||
int errcode= 0;
|
||||
if (error < 0)
|
||||
@@ -875,7 +879,11 @@ void multi_delete::abort_result_set()
|
||||
/*
|
||||
there is only side effects; to binlog with the error
|
||||
*/
|
||||
#ifdef WITH_WSREP
|
||||
if (WSREP_EMULATE_BINLOG(thd) || mysql_bin_log.is_open())
|
||||
#else
|
||||
if (mysql_bin_log.is_open())
|
||||
#endif
|
||||
{
|
||||
int errcode= query_error_code(thd, thd->killed == NOT_KILLED);
|
||||
/* possible error of writing binary log is ignored deliberately */
|
||||
@@ -1051,7 +1059,11 @@ bool multi_delete::send_eof()
|
||||
}
|
||||
if ((local_error == 0) || thd->transaction.stmt.modified_non_trans_table)
|
||||
{
|
||||
#ifdef WITH_WSREP
|
||||
if (WSREP_EMULATE_BINLOG(thd) || mysql_bin_log.is_open())
|
||||
#else
|
||||
if (mysql_bin_log.is_open())
|
||||
#endif
|
||||
{
|
||||
int errcode= 0;
|
||||
if (local_error == 0)
|
||||
|
||||
Reference in New Issue
Block a user