summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
authorunknown <lars@mysql.com>2005-10-10 21:42:14 +0200
committerunknown <lars@mysql.com>2005-10-10 21:42:14 +0200
commit56af2fc16811eabe1881864904212892e73da47d (patch)
tree366fb1fdb3117b170d70688927a897cb65b9c2a2 /sql/sql_parse.cc
parent17a7fbd59cf9edf16997e30b8ad1ca1417b44e84 (diff)
downloadmariadb-git-56af2fc16811eabe1881864904212892e73da47d.tar.gz
Added missing HAVE_REPLICATION define
Diffstat (limited to 'sql/sql_parse.cc')
-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,