diff options
author | monty@narttu.mysql.fi <> | 2003-05-27 18:40:37 +0300 |
---|---|---|
committer | monty@narttu.mysql.fi <> | 2003-05-27 18:40:37 +0300 |
commit | bdb66d24dda5d4293bc1f481966547208c569591 (patch) | |
tree | bc5052caf5ad47985df6d6862e6380f64e895fb2 /mysql-test/r/order_by.result | |
parent | 030df25b9a5e0aacb7a8550082552f3b5a440cb4 (diff) | |
download | mariadb-git-bdb66d24dda5d4293bc1f481966547208c569591.tar.gz |
ORDER BY optimization
Fixed new bug when reading field types
Diffstat (limited to 'mysql-test/r/order_by.result')
-rw-r--r-- | mysql-test/r/order_by.result | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/r/order_by.result b/mysql-test/r/order_by.result index 08176aeb2f8..3524b38e659 100644 --- a/mysql-test/r/order_by.result +++ b/mysql-test/r/order_by.result @@ -557,7 +557,7 @@ KEY StringField (FieldKey,StringVal(32)) INSERT INTO t1 VALUES ('0',3,'0'),('0',2,'1'),('0',1,'2'),('1',2,'1'),('1',1,'3'), ('1',0,'2'),('2',3,'0'),('2',2,'1'),('2',1,'2'),('2',3,'0'),('2',2,'1'),('2',1,'2'),('3',2,'1'),('3',1,'2'),('3','3','3'); EXPLAIN SELECT * FROM t1 WHERE FieldKey = '1' ORDER BY LongVal; id select_type table type possible_keys key key_len ref rows Extra -1 SIMPLE t1 ref FieldKey,LongField,StringField StringField 36 const 3 Using where; Using filesort +1 SIMPLE t1 ref FieldKey,LongField,StringField LongField 36 const 3 Using where SELECT * FROM t1 WHERE FieldKey = '1' ORDER BY LongVal; FieldKey LongVal StringVal 1 0 2 |