mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge dator5.(none):/home/pappa/clean-mysql-5.1
into dator5.(none):/home/pappa/bug18198 mysql-test/r/partition_pruning.result: Auto merged mysql-test/t/partition_pruning.test: Auto merged sql/item.h: Auto merged sql/item_cmpfunc.h: Auto merged sql/item_func.h: Auto merged sql/sql_partition.cc: Auto merged sql/sql_yacc.yy: Auto merged sql/item_strfunc.h: SCCS merged
This commit is contained in:
@ -284,13 +284,6 @@ explain partitions select * from t9 where a <= '2004-12-19';
|
||||
id select_type table partitions type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE t9 p0,p1 ALL NULL NULL NULL NULL 2 Using where
|
||||
drop table t5,t6,t7,t8,t9;
|
||||
create table t1 (a enum('a','b','c','d') default 'a')
|
||||
partition by hash (ascii(a)) partitions 2;
|
||||
insert into t1 values ('a'),('b'),('c');
|
||||
explain partitions select * from t1 where a='b';
|
||||
id select_type table partitions type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE t1 p0,p1 ALL NULL NULL NULL NULL 3 Using where
|
||||
drop table t1;
|
||||
create table t1 (
|
||||
a1 int not null
|
||||
)
|
||||
@ -683,8 +676,9 @@ f_int1 f_int2
|
||||
8 8
|
||||
9 9
|
||||
drop table t1;
|
||||
create table t1 (a char(10)) partition by list(length(a)) (
|
||||
partition p1 values in (1),
|
||||
create table t1 (a char(10) binary)
|
||||
partition by list(length(a))
|
||||
(partition p1 values in (1),
|
||||
partition p2 values in (2),
|
||||
partition p3 values in (3),
|
||||
partition p4 values in (4),
|
||||
|
Reference in New Issue
Block a user