summaryrefslogtreecommitdiff
path: root/storage/innobase/page/page0cur.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2017-09-06 14:01:15 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2017-09-06 14:01:15 +0300
commit6b45355e6bd70e77fcd4dd4d0ef74608bafc9b02 (patch)
tree445534792a690fb31fd7c333a1e8186691111191 /storage/innobase/page/page0cur.cc
parent641baa5d03131ba528d5e6a36da3514f5c9b8ab2 (diff)
downloadmariadb-git-6b45355e6bd70e77fcd4dd4d0ef74608bafc9b02.tar.gz
MDEV-13103 Assertion `flags & BUF_PAGE_PRINT_NO_CRASH' failed in buf_page_print
buf_page_print(): Remove the parameter 'flags', and when a server abort is intended, perform that in the caller. In this way, page corruption reports due to different reasons can be distinguished better. This is non-functional code refactoring that does not fix any page corruption issues. The change is only made to avoid falsely grouping together unrelated causes of page corruption.
Diffstat (limited to 'storage/innobase/page/page0cur.cc')
-rw-r--r--storage/innobase/page/page0cur.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/page/page0cur.cc b/storage/innobase/page/page0cur.cc
index 28368182b3e..05d84fd8985 100644
--- a/storage/innobase/page/page0cur.cc
+++ b/storage/innobase/page/page0cur.cc
@@ -903,7 +903,7 @@ page_cur_parse_insert_rec(
ut_print_buf(stderr, ptr2, 300);
putc('\n', stderr);
- buf_page_print(page, 0, 0);
+ buf_page_print(page, 0);
ut_error;
}