1
0
mirror of https://github.com/MariaDB/server.git synced 2026-10-23 18:49:29 +03:00

References: MDEV-4142

Merged revision 3846 from lp:codership-mysql/5.5-23
This commit is contained in:
Seppo Jaakola
2013-02-07 17:40:32 +02:00
parent f64a2c9970
commit 3f847afe4c
2 changed files with 4 additions and 4 deletions

View File

@@ -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);

View File

@@ -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);