Commit bb109aee authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-6076: Fix a broken assertion.

parent 1ba7234b
......@@ -480,7 +480,7 @@ page_create_zip(
/* PAGE_MAX_TRX_ID or PAGE_ROOT_AUTO_INC are always 0 for
temporary tables. */
ut_ad(!dict_table_is_temporary(index->table) || max_trx_id == 0);
ut_ad(max_trx_id == 0 || !dict_table_is_temporary(index->table));
/* In secondary indexes and the change buffer, PAGE_MAX_TRX_ID
must be zero on non-leaf pages. max_trx_id can be 0 when the
index consists of an empty root (leaf) page. */
......
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