diff options
author | unknown <bar@mysql.com> | 2006-03-02 12:25:02 +0400 |
---|---|---|
committer | unknown <bar@mysql.com> | 2006-03-02 12:25:02 +0400 |
commit | 3d96d86695d5ad4bda1a54ea31029906dc1d5bc6 (patch) | |
tree | b7ede5207e9ecb603cb558fe0fcec57d6fba31af /mysql-test/t/partition_charset.test | |
parent | 7e2a9aa45938da567035af4f54e731f4a69c8e8e (diff) | |
download | mariadb-git-3d96d86695d5ad4bda1a54ea31029906dc1d5bc6.tar.gz |
Bug#14527: Partitions: table unreadable if partition name = c-cedilla
sql_partition.cc:
Changeing THD charset to utf8 when parsing a frm file.
partition_charset.test, partition_charset.result:
new file
sql/sql_partition.cc:
Bug#14527: Partitions: table unreadable if partition name = c-cedilla
Changering THD charset to utf8 when parsing
a frm file.
Diffstat (limited to 'mysql-test/t/partition_charset.test')
-rw-r--r-- | mysql-test/t/partition_charset.test | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/mysql-test/t/partition_charset.test b/mysql-test/t/partition_charset.test new file mode 100644 index 00000000000..27d0dc87b89 --- /dev/null +++ b/mysql-test/t/partition_charset.test @@ -0,0 +1,21 @@ +# +# Test for character set related things in combination +# with the partition storage engine +# +-- source include/have_partition.inc + +--disable_warnings +drop table if exists t1; +--enable_warnings + +set names utf8; +create table t1 (s1 int) + partition by list (s1) + (partition c values in (1), + partition Ç values in (3)); +insert into t1 values (1),(3); +select * from t1; +flush tables; +set names latin1; +select * from t1; +drop table t1; |