Commit cd0e0a99 authored by lars@mysql.com's avatar lars@mysql.com

Added missing HAVE_REPLICATION define

parent 83c103ed
......@@ -2006,7 +2006,7 @@ mysql_execute_command(THD *thd)
}
#endif
}
#endif /* !HAVE_REPLICATION */
#endif /* HAVE_REPLICATION */
/*
When option readonly is set deny operations which change tables.
......@@ -2841,6 +2841,7 @@ unsent_create_error:
select_lex)))
break;
#ifdef HAVE_REPLICATION
/* Check slave filtering rules */
if (thd->slave_thread)
if (all_tables_not_ok(thd,tables))
......@@ -2849,6 +2850,7 @@ unsent_create_error:
my_error(ER_SLAVE_IGNORED_TABLE, MYF(0));
break;
}
#endif /* HAVE_REPLICATION */
res= mysql_multi_update(thd,tables,
&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