From 56af2fc16811eabe1881864904212892e73da47d Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 10 Oct 2005 21:42:14 +0200 Subject: [PATCH] Added missing HAVE_REPLICATION define --- sql/sql_parse.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index 999fc792229..88718f6c8c9 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -3208,6 +3208,7 @@ end_with_restore_list: if ((res= mysql_multi_update_prepare(thd))) break; +#ifdef HAVE_REPLICATION /* Check slave filtering rules */ if (thd->slave_thread && all_tables_not_ok(thd, all_tables)) { @@ -3215,6 +3216,7 @@ end_with_restore_list: my_error(ER_SLAVE_IGNORED_TABLE, MYF(0)); break; } +#endif /* HAVE_REPLICATION */ res= mysql_multi_update(thd, all_tables, &select_lex->item_list,