Commit 61967b90 authored by Marko Mäkelä's avatar Marko Mäkelä

btr_corruption_report(): Add ATTRIBUTE_NORETURN

parent c64265f3
......@@ -65,7 +65,7 @@ btr_corruption_report(
const buf_block_t* block, /*!< in: corrupted block */
const dict_index_t* index) /*!< in: index tree */
{
ib::error()
ib::fatal()
<< "Flag mismatch in page " << block->page.id
<< " index " << index->name
<< " of table " << index->table->name;
......
......@@ -179,7 +179,7 @@ btr_corruption_report(
/*==================*/
const buf_block_t* block, /*!< in: corrupted block */
const dict_index_t* index) /*!< in: index tree */
ATTRIBUTE_COLD __attribute__((nonnull));
ATTRIBUTE_COLD ATTRIBUTE_NORETURN __attribute__((nonnull));
/** Assert that a B-tree page is not corrupted.
@param block buffer block containing a B-tree page
......@@ -188,7 +188,6 @@ btr_corruption_report(
if ((ibool) !!page_is_comp(buf_block_get_frame(block)) \
!= dict_table_is_comp((index)->table)) { \
btr_corruption_report(block, index); \
ut_error; \
}
/**************************************************************//**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment