MySQL Forums
Forum List  »  Partitioning

Re: partition with UTF8 varchar
Posted by: Jonathan Stephens
Date: January 29, 2007 03:52AM

Looks like you've uncovered a problem with ORD():

mysql> select version();
+-------------------+
| version()         |
+-------------------+
| 5.1.15-beta-debug |
+-------------------+

mysql> select ord('お');
+------------+
| ord('お') |
+------------+
|        227 |
+------------+
1 row in set (0.00 sec)

mysql> select ord('き');
+------------+
| ord('き') |
+------------+
|        227 |
+------------+
1 row in set (0.00 sec)

mysql> select ord('の');
+------------+
| ord('の') |
+------------+
|        227 |
+------------+
1 row in set (0.00 sec)

mysql> select ord('ん');
+------------+
| ord('ん') |
+------------+
|        227 |
+------------+
1 row in set (0.00 sec)

mysql> select ord('せ');
+------------+
| ord('せ') |
+------------+
|        227 |
+------------+
1 row in set (0.00 sec)
1 row in set (0.00 sec)

Jon Stephens
MySQL Documentation Team @ Oracle

MySQL Dev Zone
MySQL Server Documentation
Oracle

Options: ReplyQuote


Subject
Views
Written By
Posted
5560
January 28, 2007 08:27AM
Re: partition with UTF8 varchar
2790
January 29, 2007 03:52AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.