diff options
author | Alexander Barkov <bar@mnogosearch.org> | 2013-10-31 14:24:24 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mnogosearch.org> | 2013-10-31 14:24:24 +0400 |
commit | bd3dc54261f10f387a03ad99ce74c3824c42e462 (patch) | |
tree | 2eb1a284095b7d7bd28368bab9e229880a56fc95 /sql/sql_load.cc | |
parent | eea91f633f903b8c223b7d470e4be7366cbf57c8 (diff) | |
download | mariadb-git-bd3dc54261f10f387a03ad99ce74c3824c42e462.tar.gz |
A few minor Unicode collation customization improvements were made,
which makes it possible to add more world language collations
with very complex collation rules (e.g. Myanmar):
- Weight string for a single character in a user defined collation
was erroneously limited to 7 weights (instead of 8 weights).
Added an extra element in the user-defined weight arrays,
to fit 8 non-zero weights.
- Weight string limit for contractions was made two times longer (16 weights),
which allows longer contractions without affecting the performance
of filesort.
- A user-defined collation now refuses to initialize and reports an error
in case if a weight string gets longer than 8 weights for a single character,
or longer than 16 weights for a contraction. Previously weight strings
for such characters (and contractions) were cut, so a collation
could silently start with wrong rules.
- Fixed a bug in handling rules like "&a << b" in combination with
shift-after-method="expand". The primary weight for "b" was not
correctly calculated, which erroneously made "b" primary greater than "a"
instead of primary equal to "a".
Diffstat (limited to 'sql/sql_load.cc')
0 files changed, 0 insertions, 0 deletions