mirror of
https://github.com/MariaDB/server.git
synced 2025-11-18 07:48:43 +03:00
Merge mysql.com:/home/mydev/mysql-5.1
into mysql.com:/home/mydev/mysql-5.1-bug8841
This commit is contained in:
@@ -289,3 +289,14 @@ select * from t1 where f1 = 2;
|
||||
f1 f2 f3
|
||||
2 2 2
|
||||
drop table t1;
|
||||
create table t1 (f1 integer,f2 integer, unique index(f1))
|
||||
partition by range(f1 div 2)
|
||||
subpartition by hash(f1) subpartitions 2
|
||||
(partition partb values less than (2),
|
||||
partition parte values less than (4),
|
||||
partition partf values less than (10000));
|
||||
insert into t1 values(10,1);
|
||||
select * from t1 where f1 = 10;
|
||||
f1 f2
|
||||
10 1
|
||||
drop table t1;
|
||||
|
||||
@@ -368,3 +368,15 @@ insert into t1 values(2,2,'2');
|
||||
select * from t1 where f1 = 2;
|
||||
drop table t1;
|
||||
|
||||
#
|
||||
# Bug #16907 Partitions: crash, SELECT goes into last partition, UNIQUE INDEX
|
||||
#
|
||||
create table t1 (f1 integer,f2 integer, unique index(f1))
|
||||
partition by range(f1 div 2)
|
||||
subpartition by hash(f1) subpartitions 2
|
||||
(partition partb values less than (2),
|
||||
partition parte values less than (4),
|
||||
partition partf values less than (10000));
|
||||
insert into t1 values(10,1);
|
||||
select * from t1 where f1 = 10;
|
||||
drop table t1;
|
||||
|
||||
Reference in New Issue
Block a user