Commit be416cfa authored by Daniele Sciascia's avatar Daniele Sciascia Committed by Jan Lindström

MW-86 Removed unnecessary wsrep_sync_wait before processing SQLCOM_REPLACE

Sync waiting before processing SQLCOM_REPLACE was not necessary given that
this case falls through to processing of SQLCOM_INSERT. In case of
SQLCOM_REPLACE, wsrep_sync_wait would be called twice.
Signed-off-by: default avatarJan Lindström <jan.lindstrom@mariadb.com>
parent 34853fa7
......@@ -3254,7 +3254,6 @@ case SQLCOM_PREPARE:
break;
}
case SQLCOM_REPLACE:
WSREP_SYNC_WAIT(thd, WSREP_SYNC_WAIT_BEFORE_INSERT_REPLACE);
#ifndef DBUG_OFF
if (mysql_bin_log.is_open())
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment