Commit ea6d7034 authored by marko's avatar marko

branches/zip: ibuf_insert_low(): Simplify a comparison.

parent fdb850de
......@@ -2850,10 +2850,10 @@ ibuf_insert_low(
ibuf_data->n_inserts++;
mutex_exit(&ibuf_mutex);
}
if ((mode == BTR_MODIFY_TREE) && (err == DB_SUCCESS)) {
ibuf_contract_after_insert(entry_size);
if (mode == BTR_MODIFY_TREE) {
ibuf_contract_after_insert(entry_size);
}
}
if (do_merge) {
......
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