mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
3d96d86695
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.
21 lines
443 B
Text
21 lines
443 B
Text
#
|
|
# 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;
|