Commit c0c65138 authored by unknown's avatar unknown

Fix order by

parent 85391d22
...@@ -35,10 +35,10 @@ update t1 set name="Autodiscover" where id = 2; ...@@ -35,10 +35,10 @@ update t1 set name="Autodiscover" where id = 2;
show status like 'handler_discover%'; show status like 'handler_discover%';
Variable_name Value Variable_name Value
Handler_discover 4 Handler_discover 4
select * from t1 order by name; select * from t1 order by id;
id name id name
2 Autodiscover
1 Autodiscover 1 Autodiscover
2 Autodiscover
3 Discover 3 3 Discover 3
show status like 'handler_discover%'; show status like 'handler_discover%';
Variable_name Value Variable_name Value
......
...@@ -50,7 +50,7 @@ flush tables; ...@@ -50,7 +50,7 @@ flush tables;
system rm var/master-data/test/t1.frm ; system rm var/master-data/test/t1.frm ;
update t1 set name="Autodiscover" where id = 2; update t1 set name="Autodiscover" where id = 2;
show status like 'handler_discover%'; show status like 'handler_discover%';
select * from t1 order by name; select * from t1 order by id;
show status like 'handler_discover%'; show status like 'handler_discover%';
# #
......
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