summaryrefslogtreecommitdiff
path: root/sql/sql_table.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2020-04-27 14:24:41 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2020-04-27 14:24:41 +0300
commit2e12d471eab9db77473ec80637f8d0d2d03bf69f (patch)
treeeea2f8df98e8ccbd28d59b75706f44330fd4407d /sql/sql_table.cc
parent61c0df94655f2dc3146456e49f3f51610251e79f (diff)
parentc06845d6f04e092b64c105eb6786056cea2ab593 (diff)
downloadmariadb-git-2e12d471eab9db77473ec80637f8d0d2d03bf69f.tar.gz
Merge 10.2 into 10.3
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r--sql/sql_table.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc
index eef7239db4c..86a93d4c8c9 100644
--- a/sql/sql_table.cc
+++ b/sql/sql_table.cc
@@ -5582,7 +5582,7 @@ bool mysql_create_like_table(THD* thd, TABLE_LIST* table,
DBUG_ENTER("mysql_create_like_table");
#ifdef WITH_WSREP
- if (WSREP_ON && !thd->wsrep_applier &&
+ if (WSREP(thd) && !thd->wsrep_applier &&
wsrep_create_like_table(thd, table, src_table, create_info))
DBUG_RETURN(res);
#endif