1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

- disabled all "EXPLAIN SELECT" tests from the InnoDB test because of

nodeterministic results on some platforms
This commit is contained in:
lenz@mysql.com
2003-05-13 19:30:07 +02:00
parent a2928182ad
commit a909b1b75d
2 changed files with 4 additions and 16 deletions

View File

@ -138,15 +138,6 @@ id parent_id level
1008 102 2 1008 102 2
1010 102 2 1010 102 2
1015 102 2 1015 102 2
explain select level from t1 where level=1;
table type possible_keys key key_len ref rows Extra
t1 ref level level 1 const 12 Using where; Using index
explain select level,id from t1 where level=1;
table type possible_keys key key_len ref rows Extra
t1 ref level level 1 const 12 Using where; Using index
explain select level,id,parent_id from t1 where level=1;
table type possible_keys key key_len ref rows Extra
t1 ref level level 1 const 12 Using where
select level,id from t1 where level=1; select level,id from t1 where level=1;
level id level id
1 1002 1 1002
@ -595,9 +586,6 @@ id parent_id level
1009 102 2 1009 102 2
1025 102 2 1025 102 2
1016 102 2 1016 102 2
explain select level from t1 where level=1;
table type possible_keys key key_len ref rows Extra
t1 ref level level 1 const 6 Using where; Using index
select level,id from t1 where level=1; select level,id from t1 where level=1;
level id level id
1 1004 1 1004

View File

@ -40,9 +40,9 @@ update ignore t1 set id=id+1; # This will change all rows
select * from t1; select * from t1;
update ignore t1 set id=1023 where id=1010; update ignore t1 set id=1023 where id=1010;
select * from t1 where parent_id=102; select * from t1 where parent_id=102;
explain select level from t1 where level=1; # explain select level from t1 where level=1;
explain select level,id from t1 where level=1; # explain select level,id from t1 where level=1;
explain select level,id,parent_id from t1 where level=1; # explain select level,id,parent_id from t1 where level=1;
select level,id from t1 where level=1; select level,id from t1 where level=1;
select level,id,parent_id from t1 where level=1; select level,id,parent_id from t1 where level=1;
optimize table t1; optimize table t1;
@ -339,7 +339,7 @@ update ignore t1 set id=id+1; # This will change all rows
select * from t1; select * from t1;
update ignore t1 set id=1023 where id=1010; update ignore t1 set id=1023 where id=1010;
select * from t1 where parent_id=102; select * from t1 where parent_id=102;
explain select level from t1 where level=1; # explain select level from t1 where level=1;
select level,id from t1 where level=1; select level,id from t1 where level=1;
select level,id,parent_id from t1 where level=1; select level,id,parent_id from t1 where level=1;
select level,id from t1 where level=1 order by id; select level,id from t1 where level=1 order by id;