~percona-core/percona-server/5.1

Viewing all changes in revision 253.

  • Committer: Alexey Kopytov
  • Date: 2011-07-08 14:01:22 UTC
  • Revision ID: akopytov@gmail.com-20110708140122-hen3dazkyiv0ye7w
Implementation of
https://blueprints.launchpad.net/percona-server/+spec/utf8-general50-ci-5.1

The patch is intended to help users:
- Having indexes on columns with collations
utf8_general_ci or ucs2_general_ci
- Having German letter SHARP S (SZLIG) in these columns
- Upgrading from MySQL from versions 5.0.x or
5.1.23 (and earlier) to version 5.1.24 (and higher).

This patch introduces new collations utf8_general50_ci
and ucs2_general50_ci which reproduce the "old"
sorting order provided by pre-5.1.24 versions of xxx_general_ci.

In order to start using new MySQL-5.1.24+ please do the following:

- Start new version of mysqld
- Convert all affected tables using this query (in case of utf8):

ALTER TABLE t1 CONVERT TO CHARACTER SET utf8 COLLATE utf8_general50_ci;

Or if you need to apply changes per-column level, use this example:

ALTER TABLE t1 MODIFY c1 CHAR(N) CHARACTER SET utf8 COLLATE utf8_general50_ci;

(Make sure you're using the old data type and size,
NULL/NOT NULL constraints, etc).

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: