Bug #17047208 REPLICATION DIFFERENCE FOR MULTIPLE TRIGGERS
Fixing pb2 valgrind failure Missed a 'if condition' check while moving the logic from one place to another place.
This commit is contained in:
parent
a7fb5aecfd
commit
08e929388b
@ -4477,7 +4477,9 @@ int THD::decide_logging_format(TABLE_LIST *tables)
|
||||
given statement.
|
||||
*/
|
||||
if (!lex->is_stmt_unsafe(LEX::BINLOG_STMT_UNSAFE_INSERT_TWO_KEYS) &&
|
||||
lex->sql_command == SQLCOM_INSERT && lex->duplicates == DUP_UPDATE)
|
||||
lex->sql_command == SQLCOM_INSERT &&
|
||||
/* Duplicate key update is not supported by INSERT DELAYED */
|
||||
command != COM_DELAYED_INSERT && lex->duplicates == DUP_UPDATE)
|
||||
{
|
||||
uint keys= table->table->s->keys, i= 0, unique_keys= 0;
|
||||
for (KEY* keyinfo= table->table->s->key_info;
|
||||
|
Loading…
x
Reference in New Issue
Block a user