From 04c47454781533408deb10bf770744327415aa59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vicen=C8=9Biu=20Ciorbaru?= Date: Wed, 20 Jun 2018 01:28:59 +0300 Subject: [PATCH] Fix double WSREP_ISOLATION_BEGIN merge error --- sql/sql_plugin.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/sql/sql_plugin.cc b/sql/sql_plugin.cc index 7e4be9aed16..270466fa0f7 100644 --- a/sql/sql_plugin.cc +++ b/sql/sql_plugin.cc @@ -2122,8 +2122,6 @@ bool mysql_install_plugin(THD *thd, const LEX_STRING *name, DBUG_RETURN(TRUE); WSREP_TO_ISOLATION_BEGIN(WSREP_MYSQL_DB, NULL, NULL); - WSREP_TO_ISOLATION_BEGIN(WSREP_MYSQL_DB, NULL, NULL) - /* need to open before acquiring LOCK_plugin or it will deadlock */ if (! (table = open_ltable(thd, &tables, TL_WRITE, MYSQL_LOCK_IGNORE_TIMEOUT)))