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
3f97b7b6
Commit
3f97b7b6
authored
Nov 07, 2002
by
Sinisa@sinisa.nasamreza.org
Browse files
Options
Browse Files
Download
Plain Diff
Merge sinisa@work.mysql.com:/home/bk/mysql
into sinisa.nasamreza.org:/mnt/work/mysql
parents
0ea250e4
be51d6ae
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
4 deletions
+19
-4
innobase/row/row0mysql.c
innobase/row/row0mysql.c
+19
-4
No files found.
innobase/row/row0mysql.c
View file @
3f97b7b6
...
@@ -1012,10 +1012,25 @@ row_update_cascade_for_mysql(
...
@@ -1012,10 +1012,25 @@ row_update_cascade_for_mysql(
err
=
trx
->
error_state
;
err
=
trx
->
error_state
;
/* Note that the cascade node is a subnode of another InnoDB
query graph node. We do a normal lock wait in this node, but
all errors are handled by the parent node. */
if
(
err
==
DB_LOCK_WAIT
)
{
if
(
err
==
DB_LOCK_WAIT
)
{
/* Handle lock wait here */
que_thr_stop_for_mysql
(
thr
);
que_thr_stop_for_mysql
(
thr
);
row_mysql_handle_errors
(
&
err
,
trx
,
thr
,
NULL
);
srv_suspend_mysql_thread
(
thr
);
/* Note that a lock wait may also end in a lock wait timeout */
if
(
trx
->
error_state
!=
DB_SUCCESS
)
{
return
(
trx
->
error_state
);
}
/* Retry operation after a normal lock wait */
goto
run_again
;
goto
run_again
;
}
}
...
...
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