summaryrefslogtreecommitdiff
path: root/sql/wsrep_mysqld.cc
diff options
context:
space:
mode:
authorsjaakola <seppo.jaakola@iki.fi>2017-02-22 23:10:36 +0200
committerJan Lindström <jan.lindstrom@mariadb.com>2017-08-11 14:06:16 +0300
commit790a8274cd0ea471a81652aef932191660deb64b (patch)
tree84a8619783fe1bd18000b511b07e1db0fdf930df /sql/wsrep_mysqld.cc
parent04c6b03c9b2155500d82ce880f3b8bea88f0c5a5 (diff)
downloadmariadb-git-790a8274cd0ea471a81652aef932191660deb64b.tar.gz
Refs: MW-360 * reverted WSREP_TO_ISOLATION macros back to original form
Diffstat (limited to 'sql/wsrep_mysqld.cc')
-rw-r--r--sql/wsrep_mysqld.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/wsrep_mysqld.cc b/sql/wsrep_mysqld.cc
index fa8991709db..cf8ac25aa6a 100644
--- a/sql/wsrep_mysqld.cc
+++ b/sql/wsrep_mysqld.cc
@@ -1523,7 +1523,7 @@ static void wsrep_RSU_end(THD *thd)
thd->variables.wsrep_on = 1;
}
-int wsrep_to_isolation_begin(THD *thd, const char *query, char *db_, char *table_,
+int wsrep_to_isolation_begin(THD *thd, char *db_, char *table_,
const TABLE_LIST* table_list)
{
@@ -1579,7 +1579,7 @@ int wsrep_to_isolation_begin(THD *thd, const char *query, char *db_, char *table
{
switch (thd->variables.wsrep_OSU_method) {
case WSREP_OSU_TOI:
- ret = wsrep_TOI_begin(thd, query, db_, table_, table_list);
+ ret = wsrep_TOI_begin(thd, thd->query(), db_, table_, table_list);
break;
case WSREP_OSU_RSU:
ret = wsrep_RSU_begin(thd, db_, table_);