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
ac3e3e12
Commit
ac3e3e12
authored
Jan 24, 2020
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-21509: Work around occasional lost DEBUG_SYNC
parent
26a46444
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
mysql-test/suite/innodb/r/innodb_bug30113362.result
mysql-test/suite/innodb/r/innodb_bug30113362.result
+2
-2
mysql-test/suite/innodb/t/innodb_bug30113362.test
mysql-test/suite/innodb/t/innodb_bug30113362.test
+8
-2
No files found.
mysql-test/suite/innodb/r/innodb_bug30113362.result
View file @
ac3e3e12
...
...
@@ -63,11 +63,11 @@ SET DEBUG_SYNC = 'now WAIT_FOR roll1_wait';
COMMIT;
SET DEBUG_SYNC = 'now SIGNAL roll2';
connect con1,localhost,root,,;
SET DEBUG_SYNC = 'now WAIT_FOR rollback_waiting';
SET DEBUG_SYNC = 'now WAIT_FOR rollback_waiting
TIMEOUT 1
';
SET DEBUG_SYNC = 'rw_s_lock_waiting SIGNAL lockwait1';
SELECT a00 FROM t1 WHERE a00 = 'bii';
connection default;
SET DEBUG_SYNC = 'now WAIT_FOR lockwait1';
SET DEBUG_SYNC = 'now WAIT_FOR lockwait1
TIMEOUT 1
';
SET DEBUG_SYNC = 'now SIGNAL resume';
connection con1;
a00
...
...
mysql-test/suite/innodb/t/innodb_bug30113362.test
View file @
ac3e3e12
...
...
@@ -106,12 +106,18 @@ COMMIT;
SET
DEBUG_SYNC
=
'now SIGNAL roll2'
;
connect
(
con1
,
localhost
,
root
,,);
SET
DEBUG_SYNC
=
'now WAIT_FOR rollback_waiting'
;
# FIXME: This occasionally times out!
--
disable_warnings
SET
DEBUG_SYNC
=
'now WAIT_FOR rollback_waiting TIMEOUT 1'
;
--
enable_warnings
SET
DEBUG_SYNC
=
'rw_s_lock_waiting SIGNAL lockwait1'
;
send
SELECT
a00
FROM
t1
WHERE
a00
=
'bii'
;
connection
default
;
SET
DEBUG_SYNC
=
'now WAIT_FOR lockwait1'
;
# FIXME: This occasionally times out!
--
disable_warnings
SET
DEBUG_SYNC
=
'now WAIT_FOR lockwait1 TIMEOUT 1'
;
--
enable_warnings
# bug#30113362 caused deadlock
SET
DEBUG_SYNC
=
'now SIGNAL resume'
;
...
...
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