File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -2918,6 +2918,10 @@ row_ins_sec_index_entry(
29182918mem_heap_t * offsets_heap;
29192919mem_heap_t * heap;
29202920
2921+ DBUG_EXECUTE_IF (" row_ins_sec_index_entry_timeout" , {
2922+ DBUG_SET (" -d,row_ins_sec_index_entry_timeout" );
2923+ return (DB_LOCK_WAIT);});
2924+
29212925if (!index->table ->foreign_set .empty ()) {
29222926err = row_ins_check_foreign_constraints (index->table , index,
29232927entry, thr);
Original file line number Diff line number Diff line change @@ -2991,6 +2991,10 @@ row_ins_sec_index_entry(
29912991mem_heap_t * offsets_heap;
29922992mem_heap_t * heap;
29932993
2994+ DBUG_EXECUTE_IF (" row_ins_sec_index_entry_timeout" , {
2995+ DBUG_SET (" -d,row_ins_sec_index_entry_timeout" );
2996+ return (DB_LOCK_WAIT);});
2997+
29942998if (!index->table ->foreign_set .empty ()) {
29952999err = row_ins_check_foreign_constraints (index->table , index,
29963000entry, thr);
You can’t perform that action at this time.
0 commit comments