mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
innodb.result, innodb.test:
Remove all nondeterministic tests from innodb.test; but I have to study why on 64 bits we get different estimates
This commit is contained in:
@ -157,11 +157,6 @@ level id parent_id
|
||||
optimize table t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 optimize status OK
|
||||
show keys from t1;
|
||||
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment
|
||||
t1 0 PRIMARY 1 id A 87 NULL NULL BTREE
|
||||
t1 1 parent_id 1 parent_id A 43 NULL NULL BTREE
|
||||
t1 1 level 1 level A 6 NULL NULL BTREE
|
||||
drop table t1;
|
||||
CREATE TABLE t1 (
|
||||
gesuchnr int(11) DEFAULT '0' NOT NULL,
|
||||
@ -200,9 +195,6 @@ insert into t1 values (3,""), (4,"testing");
|
||||
analyze table t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status OK
|
||||
show keys from t1;
|
||||
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment
|
||||
t1 1 skr 1 a A 3 NULL NULL YES BTREE
|
||||
drop table t1;
|
||||
create table t1 (a int,b varchar(20),key(a)) type=innodb;
|
||||
insert into t1 values (1,""), (2,"testing");
|
||||
@ -343,14 +335,6 @@ user_id name phone ref_email detail
|
||||
drop table t1;
|
||||
CREATE TABLE t1 (a int not null, b int not null,c int not null,
|
||||
key(a),primary key(a,b), unique(c),key(a),unique(b));
|
||||
show index from t1;
|
||||
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment
|
||||
t1 0 PRIMARY 1 a A NULL NULL NULL BTREE
|
||||
t1 0 PRIMARY 2 b A 0 NULL NULL BTREE
|
||||
t1 0 c 1 c A 0 NULL NULL BTREE
|
||||
t1 0 b 1 b A 0 NULL NULL BTREE
|
||||
t1 1 a 1 a A NULL NULL NULL BTREE
|
||||
t1 1 a_2 1 a A NULL NULL NULL BTREE
|
||||
drop table t1;
|
||||
create table t1 (col1 int not null, col2 char(4) not null, primary key(col1));
|
||||
alter table t1 type=innodb;
|
||||
@ -713,9 +697,6 @@ hello 1
|
||||
optimize table t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 optimize status OK
|
||||
show keys from t1;
|
||||
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment
|
||||
t1 0 PRIMARY 1 a A 2 NULL NULL BTREE
|
||||
drop table t1;
|
||||
create table t1 (i int, j int ) TYPE=innodb;
|
||||
insert into t1 values (1,2);
|
||||
@ -745,9 +726,6 @@ a
|
||||
DROP TABLE t1;
|
||||
create table t1 (a int primary key,b int, c int, d int, e int, f int, g int, h int, i int, j int, k int, l int, m int, n int, o int, p int, q int, r int, s int, t int, u int, v int, w int, x int, y int, z int, a1 int, a2 int, a3 int, a4 int, a5 int, a6 int, a7 int, a8 int, a9 int, b1 int, b2 int, b3 int, b4 int, b5 int, b6 int) type = innodb;
|
||||
insert into t1 values (1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);
|
||||
explain select * from t1 where a > 0 and a < 50;
|
||||
table type possible_keys key key_len ref rows Extra
|
||||
t1 range PRIMARY PRIMARY 4 NULL 1 Using where
|
||||
drop table t1;
|
||||
create table t1 (id int NOT NULL,id2 int NOT NULL,id3 int NOT NULL,dummy1 char(30),primary key (id,id2),index index_id3 (id3)) type=innodb;
|
||||
insert into t1 values (0,0,0,'ABCDEFGHIJ'),(2,2,2,'BCDEFGHIJK'),(1,1,1,'CDEFGHIJKL');
|
||||
@ -835,8 +813,6 @@ create table mysqltest.t3 (a int not null) type= heap;
|
||||
insert into mysqltest.t3 values(1);
|
||||
commit;
|
||||
drop database mysqltest;
|
||||
show tables from mysqltest;
|
||||
Got one of the listed errors
|
||||
set autocommit=0;
|
||||
create table t1 (a int not null) type= innodb;
|
||||
insert into t1 values(1),(2);
|
||||
@ -869,30 +845,6 @@ a
|
||||
drop table t1;
|
||||
create table t1 (a int not null, b int not null, c int not null, primary key (a),key(b)) type=innodb;
|
||||
insert into t1 values (3,3,3),(1,1,1),(2,2,2),(4,4,4);
|
||||
explain select * from t1 order by a;
|
||||
table type possible_keys key key_len ref rows Extra
|
||||
t1 index NULL PRIMARY 4 NULL 4
|
||||
explain select * from t1 order by b;
|
||||
table type possible_keys key key_len ref rows Extra
|
||||
t1 index NULL b 4 NULL 4
|
||||
explain select * from t1 order by c;
|
||||
table type possible_keys key key_len ref rows Extra
|
||||
t1 ALL NULL NULL NULL NULL 4 Using filesort
|
||||
explain select a from t1 order by a;
|
||||
table type possible_keys key key_len ref rows Extra
|
||||
t1 index NULL PRIMARY 4 NULL 4 Using index
|
||||
explain select b from t1 order by b;
|
||||
table type possible_keys key key_len ref rows Extra
|
||||
t1 index NULL b 4 NULL 4 Using index
|
||||
explain select a,b from t1 order by b;
|
||||
table type possible_keys key key_len ref rows Extra
|
||||
t1 index NULL b 4 NULL 4 Using index
|
||||
explain select a,b from t1;
|
||||
table type possible_keys key key_len ref rows Extra
|
||||
t1 index NULL b 4 NULL 4 Using index
|
||||
explain select a,b,c from t1;
|
||||
table type possible_keys key key_len ref rows Extra
|
||||
t1 ALL NULL NULL NULL NULL 4
|
||||
drop table t1;
|
||||
create table t1 (t int not null default 1, key (t)) type=innodb;
|
||||
desc t1;
|
||||
@ -1234,9 +1186,6 @@ insert into t1 (a) select b from t2;
|
||||
select count(*) from t1;
|
||||
count(*)
|
||||
29267
|
||||
explain select * from t1 where c between 1 and 10000;
|
||||
table type possible_keys key key_len ref rows Extra
|
||||
t1 range c c 5 NULL 1 Using where
|
||||
update t1 set c=a;
|
||||
drop table t1,t2;
|
||||
create table t1 (id int primary key auto_increment, fk int, index index_fk (fk)) type=innodb;
|
||||
|
Reference in New Issue
Block a user