diff options
author | unknown <mats@kindahl-laptop.dnsalias.net> | 2007-10-26 18:52:58 +0200 |
---|---|---|
committer | unknown <mats@kindahl-laptop.dnsalias.net> | 2007-10-26 18:52:58 +0200 |
commit | f01321fd090b5e22898e571ccae9a2be9574d297 (patch) | |
tree | 6a5f6b0188e0e6a89226b3ed4ebcf4096a1a913b /mysql-test/t/func_regexp.test | |
parent | 4e83236f4fa4ed412668a587395c8043463cd3e5 (diff) | |
download | mariadb-git-f01321fd090b5e22898e571ccae9a2be9574d297.tar.gz |
BUG#12691 (Exec_master_log_pos corrupted with SQL_SLAVE_SKIP_COUNTER):
Adding code to keep skipping events while inside a transaction. Execution
will start just after the transaction has been skipped.
sql/slave.cc:
Adding code to set the thd->options flag for the slave SQL thread
even when BEGIN, ROLLBACK, COMMIT, and XID events are being skipped.
Adding code to not decrease the slave skip counter from 1 to 0 if we
are inside a transaction. This will keep the counter at 1, and keep
skipping events, until a transaction terminator is read. At that point,
the slave skip counter will be decreased to 0, and events will be read
and executed instead of read and skipped.
mysql-test/r/rpl_slave_skip.result:
New BitKeeper file ``mysql-test/r/rpl_slave_skip.result''
mysql-test/t/rpl_slave_skip-slave.opt:
New BitKeeper file ``mysql-test/t/rpl_slave_skip-slave.opt''
mysql-test/t/rpl_slave_skip.test:
New BitKeeper file ``mysql-test/t/rpl_slave_skip.test''
Diffstat (limited to 'mysql-test/t/func_regexp.test')
0 files changed, 0 insertions, 0 deletions