Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
4e667b96
Commit
4e667b96
authored
Feb 17, 2022
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-27877 considerably speed up innodb_force_recovery test
decrease innodb_lock_wait_timeout for the current session.
parent
73c391af
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
mysql-test/suite/innodb/r/innodb_force_recovery.result
mysql-test/suite/innodb/r/innodb_force_recovery.result
+1
-1
mysql-test/suite/innodb/t/innodb_force_recovery.test
mysql-test/suite/innodb/t/innodb_force_recovery.test
+1
-1
No files found.
mysql-test/suite/innodb/r/innodb_force_recovery.result
View file @
4e667b96
...
...
@@ -113,7 +113,7 @@ SET TRANSACTION ISOLATION LEVEL REPEATABLE READ;
select * from t2;
f1 f2
1 2
SET
GLOBAL
innodb_lock_wait_timeout=1;
SET
SESSION
innodb_lock_wait_timeout=1;
insert into t2 values(1,2);
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
insert into t2 values(9,10);
...
...
mysql-test/suite/innodb/t/innodb_force_recovery.test
View file @
4e667b96
...
...
@@ -162,7 +162,7 @@ SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
select
*
from
t2
;
SET
TRANSACTION
ISOLATION
LEVEL
REPEATABLE
READ
;
select
*
from
t2
;
SET
GLOBAL
innodb_lock_wait_timeout
=
1
;
SET
SESSION
innodb_lock_wait_timeout
=
1
;
--
error
ER_LOCK_WAIT_TIMEOUT
insert
into
t2
values
(
1
,
2
);
insert
into
t2
values
(
9
,
10
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment