mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
branches/zip: row_upd_sec_index_entry(): Pass foreign=TRUE to
row_ins_index_entry(). The added parameter (whether to check foreign key constraints) was incorrectly passed as FALSE in r1591.
This commit is contained in:
@@ -1334,7 +1334,7 @@ row_upd_sec_index_entry(
|
||||
row_upd_index_replace_new_col_vals(entry, index, node->update, NULL);
|
||||
|
||||
/* Insert new index entry */
|
||||
err = row_ins_index_entry(index, entry, 0, FALSE, thr);
|
||||
err = row_ins_index_entry(index, entry, 0, TRUE, thr);
|
||||
|
||||
func_exit:
|
||||
mem_heap_free(heap);
|
||||
|
||||
Reference in New Issue
Block a user