diff options
author | Daniele Sciascia <daniele.sciascia@galeracluster.com> | 2017-03-13 22:45:42 +0100 |
---|---|---|
committer | Jan Lindström <jan.lindstrom@mariadb.com> | 2017-08-14 12:00:09 +0300 |
commit | f81d9ef108b147209403cfe1be54a6f8176aacfe (patch) | |
tree | 83b62dc1f9f6a91d3b83d9e05551aa15d2016fc1 /sql/sql_parse.cc | |
parent | df5b90e18b47fd69563f49c099938b9b1ab32a27 (diff) | |
download | mariadb-git-f81d9ef108b147209403cfe1be54a6f8176aacfe.tar.gz |
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.
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r-- | sql/sql_parse.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index c82ae8f0f5c..c487835c84e 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -3697,7 +3697,6 @@ end_with_restore_list: break; } case SQLCOM_REPLACE: - WSREP_SYNC_WAIT(thd, WSREP_SYNC_WAIT_BEFORE_INSERT_REPLACE); #ifndef DBUG_OFF if (mysql_bin_log.is_open()) { |