Commit e2f911d8 authored by unknown's avatar unknown

Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1

into sanja.is.com.ua:/home/bell/mysql/work-full-4.1

parents c5805cbc 0f623dcd
...@@ -139,14 +139,14 @@ id parent_id level ...@@ -139,14 +139,14 @@ id parent_id level
1015 102 2 1015 102 2
1010 102 2 1010 102 2
explain select level from t1 where level=1; explain select level from t1 where level=1;
table type possible_keys key key_len ref rows Extra id select_type table type possible_keys key key_len ref rows Extra
t1 ref level level 1 const 1 where used; Using index 1 SIMPLE t1 ref level level 1 const 1 where used; Using index
explain select level,id from t1 where level=1; explain select level,id from t1 where level=1;
table type possible_keys key key_len ref rows Extra id select_type table type possible_keys key key_len ref rows Extra
t1 ref level level 1 const 1 where used; Using index 1 SIMPLE t1 ref level level 1 const 1 where used; Using index
explain select level,id,parent_id from t1 where level=1; explain select level,id,parent_id from t1 where level=1;
table type possible_keys key key_len ref rows Extra id select_type table type possible_keys key key_len ref rows Extra
t1 ref level level 1 const 1 where used 1 SIMPLE t1 ref level level 1 const 1 where used
select level,id from t1 where level=1; select level,id from t1 where level=1;
level id level id
1 1002 1 1002
...@@ -624,8 +624,8 @@ id parent_id level ...@@ -624,8 +624,8 @@ id parent_id level
1025 102 2 1025 102 2
1016 102 2 1016 102 2
explain select level from t1 where level=1; explain select level from t1 where level=1;
table type possible_keys key key_len ref rows Extra id select_type table type possible_keys key key_len ref rows Extra
t1 ref level level 1 const 1 where used; Using index 1 SIMPLE t1 ref level level 1 const 1 where used; 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
......
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