Commit 4800aa46 authored by marko's avatar marko

branches/zip: page_zip_reorganize(): Drop the adaptive search index before

attempting to reorganize the page, not after the reorganization has succeeded.
parent 36cf8fa0
......@@ -4169,6 +4169,8 @@ page_zip_reorganize(
temp_block = buf_block_alloc(0);
temp_page = temp_block->frame;
btr_search_drop_page_hash_index(block);
/* Copy the old page to temporary space */
buf_frame_copy(temp_page, page);
......@@ -4200,7 +4202,6 @@ page_zip_reorganize(
}
lock_move_reorganize_page(block, temp_block);
btr_search_drop_page_hash_index(block);
buf_block_free(temp_block);
return(TRUE);
......
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