From 37215193e70d01add6019dff876d7e27e7526699 Mon Sep 17 00:00:00 2001 From: Zhao Junwang Date: Fri, 29 Jan 2021 12:55:14 +0800 Subject: [PATCH] correct wrong debug assert in cmp_rec_rec_simple The debug assertion wil be no effect since two params are exactly the same. This must be a typo. --- storage/innobase/rem/rem0cmp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/innobase/rem/rem0cmp.cc b/storage/innobase/rem/rem0cmp.cc index c5d19888183..b84cf29cddd 100644 --- a/storage/innobase/rem/rem0cmp.cc +++ b/storage/innobase/rem/rem0cmp.cc @@ -936,7 +936,7 @@ int cmp_rec_rec_simple(const rec_t *rec1, const rec_t *rec2, bool null_eq = false; ut_ad(rec_offs_n_fields(offsets1) >= n_uniq); - ut_ad(rec_offs_n_fields(offsets2) == rec_offs_n_fields(offsets2)); + ut_ad(rec_offs_n_fields(offsets1) == rec_offs_n_fields(offsets2)); ut_ad(rec_offs_comp(offsets1) == rec_offs_comp(offsets2));