mirror of
https://github.com/MariaDB/server.git
synced 2026-05-06 15:15:34 +02:00
Merge c-0409e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/clean-mysql-5.1
into c-0409e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug19801 mysql-test/r/partition.result: Auto merged mysql-test/t/partition.test: Auto merged sql/sql_partition.cc: Auto merged sql/partition_info.cc: manual merge
This commit is contained in:
commit
179c979937
4 changed files with 57 additions and 22 deletions
|
|
@ -779,6 +779,18 @@ insert into t1 values (null);
|
|||
select * from t1 where f1 is null;
|
||||
f1
|
||||
NULL
|
||||
select * from t1 where f1 < 1;
|
||||
f1
|
||||
select * from t1 where f1 <= NULL;
|
||||
f1
|
||||
select * from t1 where f1 < NULL;
|
||||
f1
|
||||
select * from t1 where f1 >= NULL;
|
||||
f1
|
||||
select * from t1 where f1 > NULL;
|
||||
f1
|
||||
select * from t1 where f1 > 1;
|
||||
f1
|
||||
drop table t1;
|
||||
create table t1 (f1 smallint)
|
||||
partition by range (f1) (partition p0 values less than (0));
|
||||
|
|
|
|||
|
|
@ -919,6 +919,12 @@ create table t1 (f1 smallint)
|
|||
partition by list (f1) (partition p0 values in (null));
|
||||
insert into t1 values (null);
|
||||
select * from t1 where f1 is null;
|
||||
select * from t1 where f1 < 1;
|
||||
select * from t1 where f1 <= NULL;
|
||||
select * from t1 where f1 < NULL;
|
||||
select * from t1 where f1 >= NULL;
|
||||
select * from t1 where f1 > NULL;
|
||||
select * from t1 where f1 > 1;
|
||||
drop table t1;
|
||||
|
||||
create table t1 (f1 smallint)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue