mirror of
https://github.com/MariaDB/server.git
synced 2025-01-21 06:22:28 +01:00
branches/innodb+: ibuf_delete(): Display the space id and page number
when ignoring a buffered delete that would empty a page. (Issue #82)
This commit is contained in:
parent
4115c90530
commit
dfde1c3b4c
1 changed files with 4 additions and 2 deletions
|
@ -3515,8 +3515,10 @@ ibuf_delete(
|
||||||
if (UNIV_UNLIKELY(page_get_n_recs(page) == 1)) {
|
if (UNIV_UNLIKELY(page_get_n_recs(page) == 1)) {
|
||||||
/* Refuse to delete the last record. */
|
/* Refuse to delete the last record. */
|
||||||
ut_print_timestamp(stderr);
|
ut_print_timestamp(stderr);
|
||||||
fputs(" InnoDB: refusing to merge a buffered delete"
|
fprintf(stderr, " InnoDB: refusing a buffered delete"
|
||||||
" that would make a page empty\n", stderr);
|
" that would empty space %lu page %lu\n",
|
||||||
|
(ulong) buf_block_get_space(block),
|
||||||
|
(ulong) buf_block_get_page_no(block));
|
||||||
rec_print_new(stderr, rec, offsets);
|
rec_print_new(stderr, rec, offsets);
|
||||||
goto func_exit;
|
goto func_exit;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue