Skip to content

Commit

Permalink
IB: misc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
midenok committed May 5, 2017
1 parent 3579f5f commit 5c4473d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions storage/innobase/row/row0ins.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3861,21 +3861,18 @@ vers_row_ins_vtq_low(trx_t* trx, mem_heap_t* heap, dtuple_t* row)
mem_heap_t* offsets_heap = mem_heap_create(1024);

do {
n_index++;

if (!(index = dict_table_get_next_index(index))) {
break;
}

if (index->type & DICT_FTS) {
continue;
}
n_index++;

entry = row_build_index_entry(row, NULL, index, heap);
err = row_ins_sec_index_entry_low(
flags, BTR_MODIFY_TREE,
index, offsets_heap, heap, entry, trx->id, NULL, false, trx);
} while (err == DB_SUCCESS);
ut_ad(n_index == 2 || err != DB_SUCCESS);

mem_heap_free(offsets_heap);
return err;
Expand Down

0 comments on commit 5c4473d

Please sign in to comment.