summaryrefslogtreecommitdiff
path: root/mysql-test/t/alter_table-big.test
diff options
context:
space:
mode:
authorunknown <dlenev@mockturtle.local>2007-01-20 14:08:53 +0300
committerunknown <dlenev@mockturtle.local>2007-01-20 14:08:53 +0300
commitc1a54d976aa29181bb7d241a6f081ed973dda4c7 (patch)
treed861a2279356213855f12ac8daecc14aa735d5a0 /mysql-test/t/alter_table-big.test
parent701b785e14070347648f742aec12e2a2cd90273c (diff)
downloadmariadb-git-c1a54d976aa29181bb7d241a6f081ed973dda4c7.tar.gz
Fixed test case for bug #25044 "ALTER TABLE ... ENABLE KEYS acquires
global 'opening tables' lock." after merging it into 5.1 tree. mysql-test/r/alter_table-big.result: Fixed "show binlog events" usage as 5.1 and 5.0 sizes of binlog events differ. mysql-test/t/alter_table-big.test: This test needs statement based binlogging. Also fixed "show binlog events" usage as 5.1 and 5.0 sizes of binlog events differ.
Diffstat (limited to 'mysql-test/t/alter_table-big.test')
-rw-r--r--mysql-test/t/alter_table-big.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/t/alter_table-big.test b/mysql-test/t/alter_table-big.test
index 9a773f48a9c..befe6e14977 100644
--- a/mysql-test/t/alter_table-big.test
+++ b/mysql-test/t/alter_table-big.test
@@ -1,8 +1,8 @@
# In order to be more or less robust test for bug#25044 has to take
# significant time (e.g. about 9 seconds on my (Dmitri's) computer)
# so we probably want execute it only in --big-test mode.
-# Also in 5.1 this test will require statement-based binlog.
--source include/big_test.inc
+--source include/have_binlog_format_mixed_or_statement.inc
#
@@ -53,7 +53,7 @@ connection default;
--reap
# Check that statements were executed/binlogged in correct order.
--replace_column 2 # 5 #
-show binlog events in 'master-bin.000001' from 98;
+show binlog events in 'master-bin.000001' from 102;
# Clean up
drop tables t1, t2;