mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 19:41:47 +01:00
branches/zip: page_zip_reorganize(): Drop the adaptive search index before
attempting to reorganize the page, not after the reorganization has succeeded.
This commit is contained in:
parent
36cf8fa003
commit
4800aa4672
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue