Skip to content

Commit cc3bee9

Browse files
sjaakolaJan Lindström
authored andcommitted
Refs: MW-369 * changed insert for a FK child table to take exclusive lock on FK parent table
1 parent 20c2115 commit cc3bee9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/innobase/row/row0ins.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1640,7 +1640,7 @@ row_ins_check_foreign_constraint(
16401640
foreign,
16411641
rec,
16421642
check_index,
1643-
check_ref, TRUE);
1643+
check_ref, FALSE);
16441644
#endif /* WITH_WSREP */
16451645
goto end_scan;
16461646
} else if (foreign->type != 0) {

0 commit comments

Comments
 (0)