mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
5.5 merge
This commit is contained in:
@@ -1238,7 +1238,6 @@ Sql_condition* THD::raise_condition(uint sql_errno,
|
||||
got_warning= 1;
|
||||
break;
|
||||
case Sql_condition::WARN_LEVEL_ERROR:
|
||||
mysql_audit_general(this, MYSQL_AUDIT_GENERAL_ERROR, sql_errno, msg);
|
||||
break;
|
||||
default:
|
||||
DBUG_ASSERT(FALSE);
|
||||
@@ -1249,6 +1248,8 @@ Sql_condition* THD::raise_condition(uint sql_errno,
|
||||
|
||||
if (level == Sql_condition::WARN_LEVEL_ERROR)
|
||||
{
|
||||
mysql_audit_general(this, MYSQL_AUDIT_GENERAL_ERROR, sql_errno, msg);
|
||||
|
||||
is_slave_error= 1; // needed to catch query errors during replication
|
||||
|
||||
if (!da->is_error())
|
||||
|
Reference in New Issue
Block a user