mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Changes for new binary .frm format
Fixes after last merge from 4.0. (Code not yet complete, need anoter merge from 4.0)
This commit is contained in:
@@ -55,11 +55,18 @@ insert into t1 values(1);
|
||||
select max(a) from t1;
|
||||
drop table t1;
|
||||
|
||||
CREATE TABLE t1 ( a int not null default 0, b int not null default 0, key using BTREE (a), key using BTREE (b) ) TYPE=HEAP;
|
||||
CREATE TABLE t1 ( a int not null default 0, b int not null default 0, key using BTREE (a,b), key using BTREE (b) ) TYPE=HEAP;
|
||||
insert into t1 values(1,1),(1,2),(2,3),(1,3),(1,4),(1,5),(1,6);
|
||||
select * from t1 where a=1;
|
||||
insert into t1 values(1,1),(1,2),(2,3),(1,3),(1,4),(1,5),(1,6);
|
||||
select * from t1 where a=1;
|
||||
--replace_result 0 x 1 x 2 x 3 x 4 x 5 x 6 x 7 x 8 x 9 x
|
||||
explain select * from t1 where a=1 order by a,b;
|
||||
--replace_result 0 x 1 x 2 x 3 x 4 x 5 x 6 x 7 x 8 x 9 x
|
||||
explain select * from t1 where a=1 order by b;
|
||||
select * from t1 where b=1;
|
||||
--replace_result 0 x 1 x 2 x 3 x 4 x 5 x 6 x 7 x 8 x 9 x
|
||||
explain select * from t1 where b=1;
|
||||
drop table t1;
|
||||
|
||||
create table t1 (id int unsigned not null, primary key using BTREE (id)) type=HEAP;
|
||||
|
||||
Reference in New Issue
Block a user