Commit f81d9ef1 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.
parent df5b90e1
......@@ -3697,7 +3697,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