Removed timeout tests

This commit is contained in:
unknown 2004-07-19 10:31:55 +02:00
parent d590b04708
commit 149b70dc57
2 changed files with 0 additions and 65 deletions

View file

@ -192,26 +192,6 @@ count(*)
select count(*) from t4;
count(*)
0
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
select count(*) from t2;
count(*)
0
select count(*) from t3;
count(*)
0
select count(*) from t4;
count(*)
0
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
select count(*) from t2;
count(*)
0
select count(*) from t3;
count(*)
0
select count(*) from t4;
count(*)
0
select count(*) from t2;
count(*)
100

View file

@ -180,51 +180,6 @@ select count(*) from t2;
select count(*) from t3;
select count(*) from t4;
#
# insert records into tables and commit after timeout;
#
let $1=100;
disable_query_log;
begin;
while ($1)
{
eval insert into t2 values($1, $1+9, 5);
eval insert into t3 values($1, $1+9, 5);
eval insert into t4 values($1, $1+9, 5, $1+26000);
dec $1;
}
sleep 15;
-- error 1205
commit;
enable_query_log;
select count(*) from t2;
select count(*) from t3;
select count(*) from t4;
#
# insert records into tables and timeout before last operation
#
let $1=100;
disable_query_log;
begin;
while ($1)
{
eval insert into t2 values($1, $1+9, 5);
eval insert into t3 values($1, $1+9, 5);
eval insert into t4 values($1, $1+9, 5, $1+26000);
dec $1;
}
sleep 15;
-- error 1205
insert into t2 values(10000, 10000, 36000);
commit;
enable_query_log;
select count(*) from t2;
select count(*) from t3;
select count(*) from t4;
#
# insert records into tables and commit;
#