lock_tables_lost_commit.test
来自「这是linux下运行的mysql软件包,可用于linux 下安装 php + m」· TEST 代码 · 共 25 行
TEST
25 行
# This is a test for bug 578-- source include/have_innodb.incconnect (con1,localhost,root,,);connect (con2,localhost,root,,);connection con1;--disable_warningsdrop table if exists t1;create table t1(a int) engine=innodb;--enable_warningslock tables t1 write;insert into t1 values(10);disconnect con1;connection con2;# The bug was that, because of the LOCK TABLES, the handler "forgot" to commit,# and the other commit when we write to the binlog was not done because of# binlog-ignore-db select * from t1;drop table t1;# End of 4.1 tests
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?