1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Fixed test case for bug #25044 "ALTER TABLE ... ENABLE KEYS acquires

global 'opening tables' lock." after merging it into 5.1 tree.
This commit is contained in:
dlenev@mockturtle.local
2007-01-20 14:08:53 +03:00
parent 83bcfa2541
commit 8f23e65b00
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ reset master;
alter table t1 enable keys;;
insert into t2 values (1);
insert into t1 values (1, 1, 1);
show binlog events in 'master-bin.000001' from 98;
show binlog events in 'master-bin.000001' from 102;
Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000001 # Query 1 # use `test`; insert into t2 values (1)
master-bin.000001 # Query 1 # use `test`; alter table t1 enable keys

View File

@ -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;