[Commits] 36791ad69aa: Fix a typo
revision-id: 36791ad69aa1d970c3621a113affa7f50fade0d0 (mariadb-10.4.11-423-g36791ad69aa) parent(s): 5beb962ec229d13e2bab2c18427a915ae92c7209 author: Sergei Petrunia committer: Sergei Petrunia timestamp: 2021-01-27 15:09:13 +0300 message: Fix a typo --- sql/opt_range.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql/opt_range.cc b/sql/opt_range.cc index f5e757c5c81..e23da39b796 100644 --- a/sql/opt_range.cc +++ b/sql/opt_range.cc @@ -10968,8 +10968,8 @@ SEL_ARG::tree_delete(SEL_ARG *key) uint new_weight= root->weight - (1 + (key->next_key_part? key->next_key_part->weight : 0)); - DBUG_ASSERT(root->weight > (1 + (key->next_key_part ? - key->next_key_part->weight : 0))); + DBUG_ASSERT(root->weight >= (1 + (key->next_key_part ? + key->next_key_part->weight : 0))); /* Unlink from list */ if (key->prev)
participants (1)
-
Sergei Petrunia