diff options
author | guilhem@mysql.com <> | 2003-10-03 22:13:01 +0200 |
---|---|---|
committer | guilhem@mysql.com <> | 2003-10-03 22:13:01 +0200 |
commit | 52ae1609ebfd4bd8f0cec4f6c2e53b45889a7834 (patch) | |
tree | 09360947cec8862c4740eeb29ec0f1325a6084de /mysql-test/std_data | |
parent | 9f4d29c3f35796a8e6e195b8e081361388b6b9f4 (diff) | |
download | mariadb-git-52ae1609ebfd4bd8f0cec4f6c2e53b45889a7834.tar.gz |
When the I/O thread was stopped while copying a long transaction, and restarted,
Rotate_log_event::exec_event() believed that the relay log was corrupted. Fixed it
by moving the test for corruption to Start_log_event::exec_event().
Changed Rotate_log_event::exec_event() to not increment positions when the
event is seen in the middle of a transaction.
I did a separate commit in 4.1 (so this should not be merged to 4.0) because
code is a bit different in 4.1.
A test to see if the slave detects when the master died while writing a
transaction to the binlog (uses a forged truncated binlog I made).
Diffstat (limited to 'mysql-test/std_data')
-rw-r--r-- | mysql-test/std_data/trunc_binlog.001 | bin | 0 -> 119 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/mysql-test/std_data/trunc_binlog.001 b/mysql-test/std_data/trunc_binlog.001 Binary files differnew file mode 100644 index 00000000000..2c2b4ec6ce4 --- /dev/null +++ b/mysql-test/std_data/trunc_binlog.001 |