diff options
author | Alexander Barkov <bar@mariadb.com> | 2023-04-05 15:42:27 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2023-04-05 16:16:19 +0400 |
commit | 62e137d4d739fcba6810a66242175230e8170727 (patch) | |
tree | 3d277e4400c735ff13f84870fd09d808b7311d8e /sql/table.cc | |
parent | afdf19cf3303bf3797fe47e5cef398227134cc32 (diff) | |
parent | 06393cd8f81e6c9a01e9ae1c8783a7f6dac21fbd (diff) | |
download | mariadb-git-62e137d4d739fcba6810a66242175230e8170727.tar.gz |
Merge remote-tracking branch 'origin/10.4' into 10.5
Diffstat (limited to 'sql/table.cc')
-rw-r--r-- | sql/table.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/table.cc b/sql/table.cc index 1c13a244afd..0bd2148bdd5 100644 --- a/sql/table.cc +++ b/sql/table.cc @@ -9013,7 +9013,7 @@ bool TABLE::check_period_overlaps(const KEY &key, return false; uint kp_len= key.key_part[part_nr].length; if (f->cmp_prefix(f->ptr_in_record(lhs), f->ptr_in_record(rhs), - kp_len) != 0) + kp_len / f->charset()->mbmaxlen) != 0) return false; } |