Skip to content
Permalink
Browse files
MDEV-9663: InnoDB assertion failure: *cursor->index->name == TEMP_IND…
…EX_PREFIX

Add missing instrumentation to row0ins.cc.
  • Loading branch information
Jan Lindström committed Nov 16, 2017
1 parent 93326ef commit d8ccc61
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
@@ -2918,6 +2918,10 @@ row_ins_sec_index_entry(
mem_heap_t* offsets_heap;
mem_heap_t* heap;

DBUG_EXECUTE_IF("row_ins_sec_index_entry_timeout", {
DBUG_SET("-d,row_ins_sec_index_entry_timeout");
return(DB_LOCK_WAIT);});

if (!index->table->foreign_set.empty()) {
err = row_ins_check_foreign_constraints(index->table, index,
entry, thr);
@@ -2991,6 +2991,10 @@ row_ins_sec_index_entry(
mem_heap_t* offsets_heap;
mem_heap_t* heap;

DBUG_EXECUTE_IF("row_ins_sec_index_entry_timeout", {
DBUG_SET("-d,row_ins_sec_index_entry_timeout");
return(DB_LOCK_WAIT);});

if (!index->table->foreign_set.empty()) {
err = row_ins_check_foreign_constraints(index->table, index,
entry, thr);

0 comments on commit d8ccc61

Please sign in to comment.