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
3f847afe
Commit
3f847afe
authored
Feb 07, 2013
by
Seppo Jaakola
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
References: MDEV-4142
Merged revision 3846 from lp:codership-mysql/5.5-23
parent
f64a2c99
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
storage/innobase/row/row0upd.c
storage/innobase/row/row0upd.c
+2
-2
storage/xtradb/row/row0upd.c
storage/xtradb/row/row0upd.c
+2
-2
No files found.
storage/innobase/row/row0upd.c
View file @
3f847afe
...
...
@@ -2276,12 +2276,12 @@ row_upd_del_mark_clust_rec(
if
(
err
==
DB_SUCCESS
&&
referenced
)
{
/* NOTE that the following call loses the position of pcur ! */
err
=
wsrep_row_upd_check_foreign
_constraints
(
err
=
row_upd_check_references
_constraints
(
node
,
pcur
,
index
->
table
,
index
,
offsets
,
thr
,
mtr
);
}
#ifdef WITH_WSREP
if
(
err
==
DB_SUCCESS
&&
!
referenced
)
{
uint
werr
=
row_upd_check_references
_constraints
(
uint
werr
=
wsrep_row_upd_check_foreign
_constraints
(
node
,
pcur
,
index
->
table
,
index
,
offsets
,
thr
,
mtr
);
if
(
wsrep_debug
&&
werr
!=
DB_SUCCESS
)
fprintf
(
stderr
,
"WSREP: FK check fail: %u"
,
werr
);
...
...
storage/xtradb/row/row0upd.c
View file @
3f847afe
...
...
@@ -2302,12 +2302,12 @@ row_upd_del_mark_clust_rec(
if
(
err
==
DB_SUCCESS
&&
referenced
)
{
/* NOTE that the following call loses the position of pcur ! */
err
=
wsrep_row_upd_check_foreign
_constraints
(
err
=
row_upd_check_references
_constraints
(
node
,
pcur
,
index
->
table
,
index
,
offsets
,
thr
,
mtr
);
}
#ifdef WITH_WSREP
if
(
err
==
DB_SUCCESS
&&
!
referenced
)
{
uint
werr
=
row_upd_check_references
_constraints
(
uint
werr
=
wsrep_row_upd_check_foreign
_constraints
(
node
,
pcur
,
index
->
table
,
index
,
offsets
,
thr
,
mtr
);
if
(
wsrep_debug
&&
werr
!=
DB_SUCCESS
)
fprintf
(
stderr
,
"WSREP: FK check fail: %u"
,
werr
);
...
...
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