Commit f68a7611 authored by Seppo Jaakola's avatar Seppo Jaakola

References lp:1216904 - guaranteeing native "create table like.." processing...

References lp:1216904 - guaranteeing native "create table like.." processing when running without wsrep provider
Merged the fix from lp:~codership/codership-mysql/5.5-23, rev 3906
parent c942889d
......@@ -4753,7 +4753,7 @@ bool mysql_create_like_table(THD* thd, TABLE_LIST* table, TABLE_LIST* src_table,
DBUG_ENTER("mysql_create_like_table");
#ifdef WITH_WSREP
if (!thd->wsrep_applier)
if (WSREP(thd) && !thd->wsrep_applier)
{
TABLE *tmp_table;
bool is_tmp_table= FALSE;
......
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