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

MWL#234: Implement option to switch between master-side and client-side filtering of @@skip_replication events.

This commit is contained in:
unknown
2011-08-16 11:51:02 +02:00
parent 50846bf7e5
commit 9313032283
10 changed files with 230 additions and 42 deletions

View File

@@ -134,6 +134,15 @@ extern ulonglong relay_log_space_limit;
*/
#define SLAVE_FORCE_ALL 4
/*
Values for the option --replicate-events-marked-for-skip.
Must match the typelib replicate_events_marked_for_skip_typelib in mysqld.cc
*/
#define RPL_SKIP_REPLICATE 0
#define RPL_SKIP_FILTER_ON_SLAVE 1
#define RPL_SKIP_FILTER_ON_MASTER 2
int init_slave();
void init_slave_skip_errors(const char* arg);
bool flush_relay_log_info(Relay_log_info* rli);