summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <lars@mysql.com>2005-10-10 21:52:50 +0200
committerunknown <lars@mysql.com>2005-10-10 21:52:50 +0200
commit62d6227871c17d08213365e43767a280ee240be7 (patch)
tree5a1a21a5548ff1d9ed4beb5b2b3b788adb77c9df
parent55ca2515cecb0ab6bc411b6f30473168e4bc14be (diff)
parent56af2fc16811eabe1881864904212892e73da47d (diff)
downloadmariadb-git-62d6227871c17d08213365e43767a280ee240be7.tar.gz
Merge lthalmann@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/users/lthalmann/bkroot/mysql-5.0
-rw-r--r--sql/sql_parse.cc2
1 files changed, 2 insertions, 0 deletions
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,