diff options
author | Sven Sandberg <sven@mysql.com> | 2008-07-15 18:05:39 +0200 |
---|---|---|
committer | Sven Sandberg <sven@mysql.com> | 2008-07-15 18:05:39 +0200 |
commit | d32bcd4e83c44fa94216a3967e88089fa4db72bc (patch) | |
tree | eebf016ab27d523b3a756d76cc9d51b66e55892f /mysql-test/t/mysqlbinlog_base64.test | |
parent | e5bc5128bcc838c62200c27d4e83f0a4adc4c6e3 (diff) | |
download | mariadb-git-d32bcd4e83c44fa94216a3967e88089fa4db72bc.tar.gz |
BUG#38127: main.mysqlbinlog_base64 fails sporadically on pushbuild
This is not a fix to the bug. I'm just pushing a change to the
test case that will produce debug info when the test fails next
time.
mysql-test/t/mysqlbinlog_base64.test:
Temporarily augmenting the test with debug info in order to
analyze BUG#38127.
Diffstat (limited to 'mysql-test/t/mysqlbinlog_base64.test')
-rw-r--r-- | mysql-test/t/mysqlbinlog_base64.test | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mysql-test/t/mysqlbinlog_base64.test b/mysql-test/t/mysqlbinlog_base64.test index 71def6a733a..2d8a111d2ea 100644 --- a/mysql-test/t/mysqlbinlog_base64.test +++ b/mysql-test/t/mysqlbinlog_base64.test @@ -32,6 +32,21 @@ drop table t2; select * from t1; select * from t2; +# DEBUG CODE ADDED BY SVEN. BUG#38127 +let $count_t1= `SELECT COUNT(*) FROM t1`; +let $count_t2= `SELECT COUNT(*) FROM t2`; +if (`SELECT $count_t1 != 3 OR $count_t2 != 70`) +{ + --echo Test case bug! See BUG#38127. Printing debug info. + --cat_file $MYSQLTEST_VARDIR/tmp/mysqlbinlog_base64.sql + SHOW MASTER STATUS; + SHOW BINLOG EVENTS; + --exec $MYSQL_BINLOG $MYSQLD_DATADIR/master-bin.000001 + SHOW TABLES; + exit; +} +# END DEBUG CODE + # # Verify that events larger than the default IO_CACHE buffer # are handled correctly (BUG#25628). |