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
6a634576
Commit
6a634576
authored
Mar 18, 2020
by
Vicențiu Ciorbaru
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '10.3' into 10.4
parents
dbde95d9
dd68db0c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
debian/libmariadb-dev-compat.links
debian/libmariadb-dev-compat.links
+0
-0
mysql-test/main/multi_update_debug.result
mysql-test/main/multi_update_debug.result
+2
-1
mysql-test/main/multi_update_debug.test
mysql-test/main/multi_update_debug.test
+2
-3
No files found.
debian/libmariadb-dev-compat.links
100644 → 100755
View file @
6a634576
File mode changed from 100644 to 100755
mysql-test/main/multi_update_debug.result
View file @
6a634576
...
...
@@ -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/main/multi_update_debug.test
View file @
6a634576
...
...
@@ -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