Commit 5456afc6 authored by lars@mysql.com's avatar lars@mysql.com

Added missing HAVE_REPLICATION define

parent af951aa6
...@@ -3208,6 +3208,7 @@ mysql_execute_command(THD *thd) ...@@ -3208,6 +3208,7 @@ mysql_execute_command(THD *thd)
if ((res= mysql_multi_update_prepare(thd))) if ((res= mysql_multi_update_prepare(thd)))
break; break;
#ifdef HAVE_REPLICATION
/* Check slave filtering rules */ /* Check slave filtering rules */
if (thd->slave_thread && all_tables_not_ok(thd, all_tables)) if (thd->slave_thread && all_tables_not_ok(thd, all_tables))
{ {
...@@ -3215,6 +3216,7 @@ mysql_execute_command(THD *thd) ...@@ -3215,6 +3216,7 @@ mysql_execute_command(THD *thd)
my_error(ER_SLAVE_IGNORED_TABLE, MYF(0)); my_error(ER_SLAVE_IGNORED_TABLE, MYF(0));
break; break;
} }
#endif /* HAVE_REPLICATION */
res= mysql_multi_update(thd, all_tables, res= mysql_multi_update(thd, all_tables,
&select_lex->item_list, &select_lex->item_list,
......
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