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
36bddacf
Commit
36bddacf
authored
Apr 18, 2020
by
Monty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed multi_update_debug.test
Backported fix from 10.5
parent
0bcb65d3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
mysql-test/r/multi_update_debug.result
mysql-test/r/multi_update_debug.result
+2
-1
mysql-test/t/multi_update_debug.test
mysql-test/t/multi_update_debug.test
+2
-3
No files found.
mysql-test/r/multi_update_debug.result
View file @
36bddacf
...
...
@@ -5,9 +5,10 @@ insert t2 values (5,6),(7,8);
create table t0 (x int);
insert t0 values (11), (22);
create trigger tr1 before update on t1 for each row insert t0 values (new.b);
set debug_sync='open_tables_after_open_and_process_table WAIT_FOR cont';
set debug_sync='open_tables_after_open_and_process_table
SIGNAL ready
WAIT_FOR cont';
update t1 join t2 on (a=c+4) set b=d;
connect con1, localhost, root;
set debug_sync='now WAIT_FOR ready';
set debug_sync='mdl_acquire_lock_wait SIGNAL cont';
lock table t1 write, t0 write;
disconnect con1;
...
...
mysql-test/t/multi_update_debug.test
View file @
36bddacf
...
...
@@ -10,12 +10,11 @@ create table t0 (x int);
insert
t0
values
(
11
),
(
22
);
create
trigger
tr1
before
update
on
t1
for
each
row
insert
t0
values
(
new
.
b
);
set
debug_sync
=
'open_tables_after_open_and_process_table WAIT_FOR cont'
;
set
debug_sync
=
'open_tables_after_open_and_process_table
SIGNAL ready
WAIT_FOR cont'
;
send
update
t1
join
t2
on
(
a
=
c
+
4
)
set
b
=
d
;
connect
con1
,
localhost
,
root
;
let
$wait_condition
=
select
count
(
*
)
from
information_schema
.
processlist
where
state
=
' debug sync point: open_tables_after_open_and_process_table'
source
include
/
wait_condition
.
inc
;
set
debug_sync
=
'now WAIT_FOR ready'
;
set
debug_sync
=
'mdl_acquire_lock_wait SIGNAL cont'
;
lock
table
t1
write
,
t0
write
;
let
$wait_condition
=
select
count
(
*
)
from
information_schema
.
processlist
where
state
=
'Waiting for table metadata lock'
...
...
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