mariadb/storage
Marko Mäkelä 39100cd984 Bug #13651627 Move ut_ad(0) from the beginning to the end of buf_page_print(),
print page dump

buf_page_print(): Remove the ut_ad(0) from the beginning. Add two flags
(enum buf_page_print_flags) that can be bitwise-ORed together:

BUF_PAGE_PRINT_NO_CRASH:
  Do not crash debug builds at the end of buf_page_print().
BUF_PAGE_PRINT_NO_FULL:
  Do not print the full page dump. This can be useful when adding
  diagnostic printout to flushing or to the doublewrite buffer.

trx_sys_doublewrite_init_or_restore_page(): Replace exit(1) with ut_error,
so that we can get a core dump if this extraordinary condition happens.

rb:924 approved by Sunny Bains
2012-02-02 12:31:57 +02:00
..
archive BUG#11751793 - 42784: Merge from mysql-5.1 to mysql-5.5 2011-11-23 18:50:29 +05:30
blackhole Merging into mysql-5.5.16-release. 2011-08-15 20:12:11 +02:00
csv Merging into mysql-5.5.16-release. 2011-08-15 20:12:11 +02:00
example Merging into mysql-5.5.16-release. 2011-08-15 20:12:11 +02:00
federated Auto-merge from mysql-5.1. 2011-12-23 18:56:29 +04:00
heap Bug#11759349 -- Merge of patch from mysql-5.1. 2011-09-27 17:44:31 +05:30
innobase Bug #13651627 Move ut_ad(0) from the beginning to the end of buf_page_print(), 2012-02-02 12:31:57 +02:00
myisam BUG#11756869: Merge from mysql-5.1 to mysql-5.5 2012-02-02 14:25:43 +05:30
myisammrg Merging into mysql-5.5.16-release. 2011-08-15 20:12:11 +02:00
ndb Merge from mysql-5.5.14-release 2011-07-06 01:13:50 +02:00
perfschema Merging into mysql-5.5.16-release. 2011-08-15 20:12:11 +02:00