Skip to content

Commit bb109ae

Browse files
committed
MDEV-6076: Fix a broken assertion.
1 parent 1ba7234 commit bb109ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/innobase/page/page0page.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ page_create_zip(
480480

481481
/* PAGE_MAX_TRX_ID or PAGE_ROOT_AUTO_INC are always 0 for
482482
temporary tables. */
483-
ut_ad(!dict_table_is_temporary(index->table) || max_trx_id == 0);
483+
ut_ad(max_trx_id == 0 || !dict_table_is_temporary(index->table));
484484
/* In secondary indexes and the change buffer, PAGE_MAX_TRX_ID
485485
must be zero on non-leaf pages. max_trx_id can be 0 when the
486486
index consists of an empty root (leaf) page. */

0 commit comments

Comments
 (0)