mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
MDEV-6076: Fix a broken assertion.
This commit is contained in:
parent
1ba7234b21
commit
bb109aeea3
1 changed files with 1 additions and 1 deletions
|
@ -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. */
|
||||
|
|
Loading…
Reference in a new issue