summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Kosov <claprix@yandex.ru>2020-08-24 20:53:51 +0300
committerEugene Kosov <claprix@yandex.ru>2020-08-24 20:54:19 +0300
commit4a90bb85c0cb1407b0f112245e47ec995dc767c7 (patch)
tree869e0c6f811b4a4cb58070524a4cbaabfe198394
parentf3160ee44f8f3ae4e5eeea768e289ec40253f35e (diff)
downloadmariadb-git-4a90bb85c0cb1407b0f112245e47ec995dc767c7.tar.gz
InnoDB: fix debug assertion
-rw-r--r--storage/innobase/row/row0upd.cc2
1 files changed, 1 insertions, 1 deletions
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;