1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Added missing HAVE_REPLICATION define

This commit is contained in:
unknown
2005-10-10 19:23:13 +02:00
parent aac2575bdb
commit a043cc536e

View File

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