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
78c2a5ab
Commit
78c2a5ab
authored
Jul 31, 2020
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge 10.2 into 10.3
parents
8bb2170d
5ec40fbb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
mysql-test/suite/innodb/r/truncate_foreign.result
mysql-test/suite/innodb/r/truncate_foreign.result
+1
-0
mysql-test/suite/innodb/t/truncate_foreign.test
mysql-test/suite/innodb/t/truncate_foreign.test
+1
-0
No files found.
mysql-test/suite/innodb/r/truncate_foreign.result
View file @
78c2a5ab
...
...
@@ -29,6 +29,7 @@ SET DEBUG_SYNC='foreign_constraint_check_for_update SIGNAL fk WAIT_FOR go';
DELETE FROM parent;
connection default;
SET DEBUG_SYNC='now WAIT_FOR fk';
SET lock_wait_timeout=1;
TRUNCATE TABLE child;
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
SET DEBUG_SYNC='now SIGNAL go';
...
...
mysql-test/suite/innodb/t/truncate_foreign.test
View file @
78c2a5ab
...
...
@@ -37,6 +37,7 @@ send DELETE FROM parent;
connection
default
;
SET
DEBUG_SYNC
=
'now WAIT_FOR fk'
;
SET
lock_wait_timeout
=
1
;
--
error
ER_LOCK_WAIT_TIMEOUT
TRUNCATE
TABLE
child
;
SET
DEBUG_SYNC
=
'now SIGNAL go'
;
...
...
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