Commit 56af2fc1 authored by unknown's avatar unknown

Added missing HAVE_REPLICATION define

parent 17a7fbd5
...@@ -3208,6 +3208,7 @@ end_with_restore_list: ...@@ -3208,6 +3208,7 @@ end_with_restore_list:
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 @@ end_with_restore_list: ...@@ -3215,6 +3216,7 @@ end_with_restore_list:
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