mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
Fix a merge error introduced in:
revision-id: inaam.rana@oracle.com-20110617202919-b7p0u0ekj5a9u9nu
This commit is contained in:
parent
33f3864e62
commit
4b26365c1d
1 changed files with 3 additions and 3 deletions
|
@ -3232,9 +3232,6 @@ err_exit:
|
|||
uninitialized data. */
|
||||
data = buf_buddy_alloc(buf_pool, zip_size, &lru);
|
||||
|
||||
/* Initialize the buf_pool pointer. */
|
||||
bpage->buf_pool_index = buf_pool_index(buf_pool);
|
||||
|
||||
/* If buf_buddy_alloc() allocated storage from the LRU list,
|
||||
it released and reacquired buf_pool->mutex. Thus, we must
|
||||
check the page_hash again, as it may have been modified. */
|
||||
|
@ -3258,6 +3255,9 @@ err_exit:
|
|||
|
||||
bpage = buf_page_alloc_descriptor();
|
||||
|
||||
/* Initialize the buf_pool pointer. */
|
||||
bpage->buf_pool_index = buf_pool_index(buf_pool);
|
||||
|
||||
page_zip_des_init(&bpage->zip);
|
||||
page_zip_set_size(&bpage->zip, zip_size);
|
||||
bpage->zip.data = data;
|
||||
|
|
Loading…
Reference in a new issue