~drizzle-trunk/drizzle/development

1 by brian
clean slate
1
# This is a test for bug 578
2
3
-- source include/have_innodb.inc
4
5
connect (con1,localhost,root,,);
6
connect (con2,localhost,root,,);
7
8
connection con1;
9
--disable_warnings
10
drop table if exists t1;
11
create table t1(a int) engine=innodb;
12
--enable_warnings
13
lock tables t1 write;
14
insert into t1 values(10);
15
disconnect con1;
16
17
connection con2;
18
# The bug was that, because of the LOCK TABLES, the handler "forgot" to commit,
19
# and the other commit when we write to the binlog was not done because of
20
# binlog-ignore-db  
21
select * from t1;
22
drop table t1;
23
24
# End of 4.1 tests