Commit a84822af authored by acurtis@xiphis.org's avatar acurtis@xiphis.org

fix partition test

parent 4e2c63a7
drop table if exists t1;
create table t1 (a int)
partition by key(a)
(partition p0 engine = MEMORY);
drop table t1;
CREATE TABLE t1 (
a int not null,
b int not null,
......@@ -886,6 +890,11 @@ s1
2
3
drop table t1;
create table t1 (a int) engine=memory
partition by key(a);
insert into t1 values (1);
create index inx1 on t1(a);
drop table t1;
create table t1 (a varchar(1))
partition by key (a)
as select 'a';
......@@ -913,9 +922,4 @@ CREATE TABLE t1 (a int, index(a)) PARTITION BY KEY(a);
ALTER TABLE t1 DISABLE KEYS;
ALTER TABLE t1 ENABLE KEYS;
DROP TABLE t1;
create table t1 (a int) engine=memory
partition by key(a);
insert into t1 values (1);
create index inx1 on t1(a);
drop table t1;
End of 5.1 tests
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment