diff options
author | unknown <knielsen@knielsen-hq.org> | 2013-10-28 13:24:56 +0100 |
---|---|---|
committer | unknown <knielsen@knielsen-hq.org> | 2013-10-28 13:24:56 +0100 |
commit | 2fbd1c730735cfd857b250e3afb909290ab4821d (patch) | |
tree | 67f2a2cf2927f3f49e944b85fdea8a41b01cf5dc /sql/slave.h | |
parent | 6a38b594759c41bd3d45ad89379ff38864bd4ba4 (diff) | |
download | mariadb-git-2fbd1c730735cfd857b250e3afb909290ab4821d.tar.gz |
MDEV-4506: Parallel replication.
MDEV-5189: Error handling in parallel replication.
Fix error handling in parallel worker threads when a query fails:
- Report the error to the error log.
- Return the error back, and set rli->abort_slave.
- Stop executing more events after the error.
Diffstat (limited to 'sql/slave.h')
-rw-r--r-- | sql/slave.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/slave.h b/sql/slave.h index 4e64754a877..3981a9d4f2c 100644 --- a/sql/slave.h +++ b/sql/slave.h @@ -233,6 +233,7 @@ int apply_event_and_update_pos(Log_event* ev, THD* thd, rpl_parallel_thread *rpt); pthread_handler_t handle_slave_io(void *arg); +void slave_output_error_info(Relay_log_info *rli, THD *thd); pthread_handler_t handle_slave_sql(void *arg); bool net_request_file(NET* net, const char* fname); |