From 4a90bb85c0cb1407b0f112245e47ec995dc767c7 Mon Sep 17 00:00:00 2001 From: Eugene Kosov Date: Mon, 24 Aug 2020 20:53:51 +0300 Subject: [PATCH] InnoDB: fix debug assertion --- storage/innobase/row/row0upd.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/innobase/row/row0upd.cc b/storage/innobase/row/row0upd.cc index 63c1ea8d662..800c7a6d1f3 100644 --- a/storage/innobase/row/row0upd.cc +++ b/storage/innobase/row/row0upd.cc @@ -2438,7 +2438,7 @@ row_upd_sec_index_entry( #ifdef UNIV_DEBUG mtr_commit(&mtr); mtr_start(&mtr); - ut_ad(btr_validate_index(index, 0, false)); + ut_ad(btr_validate_index(index, 0, false) == DB_SUCCESS); ut_ad(0); #endif /* UNIV_DEBUG */ break;