Commit ce96f0e4 authored by mskold@mysql.com's avatar mskold@mysql.com

Removed timeout tests

parent cf87b5b0
...@@ -192,26 +192,6 @@ count(*) ...@@ -192,26 +192,6 @@ count(*)
select count(*) from t4; select count(*) from t4;
count(*) count(*)
0 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; select count(*) from t2;
count(*) count(*)
100 100
......
...@@ -180,51 +180,6 @@ select count(*) from t2; ...@@ -180,51 +180,6 @@ select count(*) from t2;
select count(*) from t3; select count(*) from t3;
select count(*) from t4; 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; # insert records into tables and commit;
# #
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment