Commit 80e0aca3 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 69b16c28
......@@ -1252,9 +1252,7 @@ fail_err:
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