diff options
author | heikki@hundin.mysql.fi <> | 2002-11-07 21:04:26 +0200 |
---|---|---|
committer | heikki@hundin.mysql.fi <> | 2002-11-07 21:04:26 +0200 |
commit | d4cd385237a9fce741da467ccd383c76995c7843 (patch) | |
tree | 1cd2cb7bd2df9d2e450c2ea60c99b7e1444f491e /innobase/buf | |
parent | b31f909d7b756813993cc0f8f0d4d707aa2c2d20 (diff) | |
download | mariadb-git-d4cd385237a9fce741da467ccd383c76995c7843.tar.gz |
btr0btr.c, buf0buf.c:
Fix a glitch: under heavy ibuf activity InnoDB could print the whole contents of ibuf tree to the error log
Diffstat (limited to 'innobase/buf')
-rw-r--r-- | innobase/buf/buf0buf.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/innobase/buf/buf0buf.c b/innobase/buf/buf0buf.c index 4524fa1a4f9..c9a5ec5307f 100644 --- a/innobase/buf/buf0buf.c +++ b/innobase/buf/buf0buf.c @@ -1357,11 +1357,6 @@ buf_page_create( ut_ad(mtr); free_block = buf_LRU_get_free_block(); - - /* Delete possible entries for the page from the insert buffer: - such can exist if the page belonged to an index which was dropped */ - - ibuf_merge_or_delete_for_page(NULL, space, offset); mutex_enter(&(buf_pool->mutex)); @@ -1410,6 +1405,11 @@ buf_page_create( mutex_exit(&(buf_pool->mutex)); + /* Delete possible entries for the page from the insert buffer: + such can exist if the page belonged to an index which was dropped */ + + ibuf_merge_or_delete_for_page(NULL, space, offset); + /* Flush pages from the end of the LRU list if necessary */ buf_flush_free_margin(); |