mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Removed timeout tests
This commit is contained in:
@@ -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;
|
|||||||
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;
|
||||||
#
|
#
|
||||||
|
Reference in New Issue
Block a user