summaryrefslogtreecommitdiff
path: root/mysql-test/t/mysqlbinlog_base64.test
diff options
context:
space:
mode:
authorSven Sandberg <sven@mysql.com>2008-07-16 11:50:11 +0200
committerSven Sandberg <sven@mysql.com>2008-07-16 11:50:11 +0200
commit0642624946fb262601d58f90c12e3cbe5e1015bc (patch)
tree3202989e2ec5a5400adb4f3248c0570c41b042a2 /mysql-test/t/mysqlbinlog_base64.test
parentd32bcd4e83c44fa94216a3967e88089fa4db72bc (diff)
downloadmariadb-git-0642624946fb262601d58f90c12e3cbe5e1015bc.tar.gz
BUG#38127: main.mysqlbinlog_base64 fails sporadically on pushbuild
Problem: mysqlbinlog_base64 fails because the binlog contains traces from previous test cases. Fix: Make have_log_bin reset the master's binlog. mysql-test/include/have_log_bin.inc: Made have_log_bin reset the master logs, so that no traces of earlier test cases are left. mysql-test/t/mysqlbinlog_base64.test: Removed debug info from previous push to this test.
Diffstat (limited to 'mysql-test/t/mysqlbinlog_base64.test')
-rw-r--r--mysql-test/t/mysqlbinlog_base64.test15
1 files changed, 0 insertions, 15 deletions
diff --git a/mysql-test/t/mysqlbinlog_base64.test b/mysql-test/t/mysqlbinlog_base64.test
index 2d8a111d2ea..71def6a733a 100644
--- a/mysql-test/t/mysqlbinlog_base64.test
+++ b/mysql-test/t/mysqlbinlog_base64.test
@@ -32,21 +32,6 @@ 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).