diff options
author | unknown <marko@hundin.mysql.fi> | 2005-03-15 11:22:20 +0200 |
---|---|---|
committer | unknown <marko@hundin.mysql.fi> | 2005-03-15 11:22:20 +0200 |
commit | 50a6be7dd43bdeeaca8cd6293a1e478794eed3be (patch) | |
tree | 26006612ed8dc20f8814718b548010c0c6327905 /innobase/buf | |
parent | 01df5a157fb1b70dda18b4bdfa64e8635b930a24 (diff) | |
parent | bcabdc22bf0aaad9b93112936ba1264070339663 (diff) | |
download | mariadb-git-50a6be7dd43bdeeaca8cd6293a1e478794eed3be.tar.gz |
After merge fixes
BitKeeper/etc/logging_ok:
auto-union
innobase/buf/buf0flu.c:
Manual merge
innobase/dict/dict0load.c:
Manual merge: do not refuse to open ROW_FORMAT=COMPACT tables
Diffstat (limited to 'innobase/buf')
-rw-r--r-- | innobase/buf/buf0flu.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/innobase/buf/buf0flu.c b/innobase/buf/buf0flu.c index a0ca614d9b3..592ed972376 100644 --- a/innobase/buf/buf0flu.c +++ b/innobase/buf/buf0flu.c @@ -115,7 +115,15 @@ buf_flush_ready_for_replace( #ifdef UNIV_SYNC_DEBUG ut_ad(mutex_own(&(buf_pool->mutex))); #endif /* UNIV_SYNC_DEBUG */ - ut_a(block->state == BUF_BLOCK_FILE_PAGE); + if (block->state != BUF_BLOCK_FILE_PAGE) { + ut_print_timestamp(stderr); + fprintf(stderr, +" InnoDB: Error: buffer block state %lu in the LRU list!\n", + (ulong)block->state); + ut_print_buf(stderr, (byte*)block, sizeof(buf_block_t)); + + return(FALSE); + } if ((ut_dulint_cmp(block->oldest_modification, ut_dulint_zero) > 0) || (block->buf_fix_count != 0) |