mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
ff3f8990e7
mysql-test/r/partition_bug18198.result: Disabled a lot of test cases using ascii-function mysql-test/r/partition_charset.result: Disabled a lot of test cases using ascii-function mysql-test/r/partition_error.result: Disabled a lot of test cases using ascii-function mysql-test/r/partition_pruning.result: Disabled a lot of test cases using ascii-function mysql-test/r/partition_range.result: Disabled a lot of test cases using ascii-function mysql-test/t/partition_bug18198.test: Disabled a lot of test cases using ascii-function mysql-test/t/partition_charset.test: Disabled a lot of test cases using ascii-function mysql-test/t/partition_error.test: Disabled a lot of test cases using ascii-function mysql-test/t/partition_pruning.test: Disabled a lot of test cases using ascii-function mysql-test/t/partition_range.test: Disabled a lot of test cases using ascii-function
29 lines
675 B
Text
29 lines
675 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;
|
|
|
|
-- error ER_PARTITION_FUNCTION_IS_NOT_ALLOWED
|
|
create table t1 (a varchar(1), primary key (a))
|
|
partition by list (ascii(a))
|
|
(partition p1 values in (65));
|
|
#insert into t1 values ('A');
|
|
#replace into t1 values ('A');
|
|
#drop table t1;
|