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( ...@@ -1252,9 +1252,7 @@ btr_cur_optimistic_insert(
buf_block_get_page_no(block), max_size, buf_block_get_page_no(block), max_size,
rec_size + PAGE_DIR_SLOT_SIZE, index->type); rec_size + PAGE_DIR_SLOT_SIZE, index->type);
#endif #endif
if (leaf if (leaf && !dict_index_is_clust(index)) {
&& !dict_index_is_clust(index)
&& !dict_index_is_ibuf(index)) {
/* Update the free bits of the B-tree page in the /* Update the free bits of the B-tree page in the
insert buffer bitmap. */ 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