mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 12:01:42 +01:00
e4c8b835fe
git-svn-id: file:///svn/mysql/tests/mysql-test@55008 c7de825b-a66e-492c-adef-691d508d4ae1
32 lines
No EOL
448 B
Text
32 lines
No EOL
448 B
Text
--disable_warnings
|
|
DROP TABLE IF EXISTS t1;
|
|
--enable_warnings
|
|
|
|
CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=TokuDB;
|
|
|
|
connect (conn1,localhost,root,,);
|
|
|
|
let $i=1000;
|
|
while ($i)
|
|
{
|
|
connection default;
|
|
LOCK TABLES t1 WRITE;
|
|
eval INSERT INTO t1 VALUES (-$i);
|
|
|
|
connection conn1;
|
|
send;
|
|
eval INSERT INTO t1 VALUES ($i);
|
|
|
|
connection default;
|
|
UNLOCK TABLES;
|
|
|
|
connection conn1;
|
|
reap;
|
|
|
|
dec $i;
|
|
}
|
|
|
|
disconnect conn1;
|
|
|
|
connection default;
|
|
DROP TABLE t1; |