Skip to content

Commit ce9f2d4

Browse files
authored andcommitted
Auto Merge from mysql-5.1-rep+2-delivery1
2 parents d08385f + aefaa56 commit ce9f2d4

File tree

302 files changed

+52940
-11215
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

302 files changed

+52940
-11215
lines changed

.bzr-mysql/default.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[MYSQL]
22
post_commit_to = "[email protected]"
33
post_push_to = "[email protected]"
4-
tree_name = "mysql-5.1-rep+2"
4+
tree_name = "mysql-5.1-rep+2-delivery1"

mysql-test/extra/binlog_tests/binlog_failure_mixing_engines.test

Lines changed: 0 additions & 300 deletions
This file was deleted.

mysql-test/extra/binlog_tests/mix_innodb_myisam_binlog.test

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
-- source include/have_log_bin.inc
99
-- source include/have_innodb.inc
1010

11+
call mtr.add_suppression("Unsafe statement binlogged in statement format since BINLOG_FORMAT = STATEMENT");
1112

1213
--disable_warnings
1314
drop table if exists t1, t2;
@@ -323,23 +324,24 @@ let $MYSQLD_DATADIR= `select @@datadir`;
323324
# and does not make slave to stop)
324325
if (`select @@binlog_format = 'ROW'`)
325326
{
326-
--exec $MYSQL_BINLOG --start-position=525 $MYSQLD_DATADIR/master-bin.000001 > $MYSQLTEST_VARDIR/tmp/mix_innodb_myisam_binlog.output
327+
--echo This does not matter in ROW mode as the rolled back changes do not contain transactional changes as these
328+
--echo were previously flushed upon committing/rolling back each statement.
327329
}
328330

329331
if (`select @@binlog_format = 'STATEMENT' || @@binlog_format = 'MIXED'`)
330332
{
331333
--exec $MYSQL_BINLOG --start-position=556 $MYSQLD_DATADIR/master-bin.000001 > $MYSQLTEST_VARDIR/tmp/mix_innodb_myisam_binlog.output
332-
}
333334

334-
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
335-
eval select
336-
(@a:=load_file("$MYSQLTEST_VARDIR/tmp/mix_innodb_myisam_binlog.output"))
337-
is not null;
338-
--replace_result $MYSQL_TEST_DIR MYSQL_TEST_DIR
339-
eval select
340-
@a like "%#%error_code=0%ROLLBACK\\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%" OR
341-
@a like "%#%error_code=0%ROLLBACK\\r\\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%",
342-
@a not like "%#%error_code=%error_code=%";
335+
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
336+
eval select
337+
(@a:=load_file("$MYSQLTEST_VARDIR/tmp/mix_innodb_myisam_binlog.output"))
338+
is not null;
339+
--replace_result $MYSQL_TEST_DIR MYSQL_TEST_DIR
340+
eval select
341+
@a like "%#%error_code=0%ROLLBACK\\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%" OR
342+
@a like "%#%error_code=0%ROLLBACK\\r\\n/*!*/;%ROLLBACK /* added by mysqlbinlog */;%",
343+
@a not like "%#%error_code=%error_code=%";
344+
}
343345
drop table t1, t2;
344346

345347
#

0 commit comments

Comments
 (0)