From bb109aeea3e696f89357c946a3c04ca112925d11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Mon, 16 Jan 2017 13:57:39 +0200 Subject: [PATCH] MDEV-6076: Fix a broken assertion. --- storage/innobase/page/page0page.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/innobase/page/page0page.cc b/storage/innobase/page/page0page.cc index 5f330b9e071..704ed55f2b3 100644 --- a/storage/innobase/page/page0page.cc +++ b/storage/innobase/page/page0page.cc @@ -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. */