Commit 04dd96ae authored by marko's avatar marko

branches/zip: btr_cur_optimistic_insert(): Remove a redundant condition.

The insert buffer tree is a clustered index.
parent efcbc63a
......@@ -1252,9 +1252,7 @@ btr_cur_optimistic_insert(
buf_block_get_page_no(block), max_size,
rec_size + PAGE_DIR_SLOT_SIZE, index->type);
#endif
if (leaf
&& !dict_index_is_clust(index)
&& !dict_index_is_ibuf(index)) {
if (leaf && !dict_index_is_clust(index)) {
/* Update the free bits of the B-tree page in the
insert buffer bitmap. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment