InnoDB: fix debug assertion

This commit is contained in:
Eugene Kosov 2020-08-24 20:53:51 +03:00
parent f3160ee44f
commit 4a90bb85c0

View file

@ -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;