diff options
author | sven@riska.(none) <> | 2007-12-14 14:40:45 +0100 |
---|---|---|
committer | sven@riska.(none) <> | 2007-12-14 14:40:45 +0100 |
commit | ab396c1d091a4836c8c6abca9c34b7869ce76055 (patch) | |
tree | 2ab60f1a9c03c3267067622a25f5ba05ee32fb82 /mysql-test/r/multi_update.result | |
parent | 45f6c038b2a4fd4e4b735c1e091b7bd73b421306 (diff) | |
download | mariadb-git-ab396c1d091a4836c8c6abca9c34b7869ce76055.tar.gz |
BUG#26395: if crash during autocommit update to transactional table on master, slave fails
Now, every transaction (including autocommit transactions) starts with
a BEGIN and ends with a COMMIT/ROLLBACK in the binlog.
Added a test case, and updated lots of test case result files.
Diffstat (limited to 'mysql-test/r/multi_update.result')
-rw-r--r-- | mysql-test/r/multi_update.result | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/r/multi_update.result b/mysql-test/r/multi_update.result index 0bc01e95d2d..d96927deed5 100644 --- a/mysql-test/r/multi_update.result +++ b/mysql-test/r/multi_update.result @@ -627,7 +627,7 @@ a b 4 4 show master status /* there must be the UPDATE query event */; File Position Binlog_Do_DB Binlog_Ignore_DB -master-bin.000001 268 +master-bin.000001 336 delete from t1; delete from t2; insert into t1 values (1,2),(3,4),(4,4); @@ -637,7 +637,7 @@ UPDATE t2,t1 SET t2.a=t2.b where t2.a=t1.a; ERROR 23000: Duplicate entry '4' for key 'PRIMARY' show master status /* there must be the UPDATE query event */; File Position Binlog_Do_DB Binlog_Ignore_DB -master-bin.000001 283 +master-bin.000001 351 drop table t1, t2; set @@session.binlog_format= @sav_binlog_format; drop table if exists t1, t2, t3; |