diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2017-09-07 12:23:58 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2017-09-07 12:23:58 +0300 |
commit | a82ed92a6a721f45f23e210c132d5b33d3dccd21 (patch) | |
tree | bb4c240cdc3dea2c4772a9fb2112054082ad0640 /storage/innobase/include | |
parent | 9f580bbc0e674bcb4b99a39767311539464b39d6 (diff) | |
parent | d26fb96a9f225e53941fad5feb21abddbbf99a95 (diff) | |
download | mariadb-git-a82ed92a6a721f45f23e210c132d5b33d3dccd21.tar.gz |
Merge 10.2 into bb-10.2-ext
Diffstat (limited to 'storage/innobase/include')
-rw-r--r-- | storage/innobase/include/buf0buf.h | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/storage/innobase/include/buf0buf.h b/storage/innobase/include/buf0buf.h index 67de1174d25..516898066aa 100644 --- a/storage/innobase/include/buf0buf.h +++ b/storage/innobase/include/buf0buf.h @@ -893,24 +893,13 @@ buf_print(void); /*============*/ #endif /* UNIV_DEBUG_PRINT || UNIV_DEBUG || UNIV_BUF_DEBUG */ -enum buf_page_print_flags { - /** Do not crash at the end of buf_page_print(). */ - BUF_PAGE_PRINT_NO_CRASH = 1, - /** Do not print the full page dump. */ - BUF_PAGE_PRINT_NO_FULL = 2 -}; - -/** Prints a page to stderr. -@param[in] read_buf a database page -@param[in] page_size page size -@param[in] flags 0 or BUF_PAGE_PRINT_NO_CRASH or -BUF_PAGE_PRINT_NO_FULL */ +/** Dump a page to stderr. +@param[in] read_buf database page +@param[in] page_size page size */ +UNIV_INTERN void -buf_page_print( - const byte* read_buf, - const page_size_t& page_size, - ulint flags); - +buf_page_print(const byte* read_buf, const page_size_t& page_size) + ATTRIBUTE_COLD __attribute__((nonnull)); /********************************************************************//** Decompress a block. @return TRUE if successful */ |