mariadb/mysql-test/r/partition_charset.result
unknown 2a2b1ea825 BUG#18198
Added new test cases, fixed bugs in relation to those


mysql-test/r/partition_charset.result:
  New test case
mysql-test/r/partition_list.result:
  New test case
mysql-test/t/partition_list.test:
  New test case
sql/partition_info.cc:
  Missing initialisation
sql/sql_partition.cc:
  key_restore made use of field->ptr in VARCHAR fields and
  when used with REPLACE it caused the key_restore to
  become against table->record[0] when buf pointed to
  table->record[1]
2007-04-20 18:35:16 +02:00

24 lines
456 B
Text

drop table if exists t1;
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;
s1
1
3
flush tables;
set names latin1;
select * from t1;
s1
1
3
drop table t1;
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;