Small fix, addin order by to get predicatble output from select

parent 595cd3f5
...@@ -45,10 +45,10 @@ Variable_name Value ...@@ -45,10 +45,10 @@ Variable_name Value
Handler_discover 4 Handler_discover 4
flush tables; flush tables;
delete from t1 where id = 3; delete from t1 where id = 3;
select * from t1; select * from t1 order by id;
id name id name
2 Autodiscover
1 Autodiscover 1 Autodiscover
2 Autodiscover
show status like 'handler_discover%'; show status like 'handler_discover%';
Variable_name Value Variable_name Value
Handler_discover 5 Handler_discover 5
......
...@@ -60,7 +60,7 @@ show status like 'handler_discover%'; ...@@ -60,7 +60,7 @@ show status like 'handler_discover%';
flush tables; flush tables;
system rm var/master-data/test/t1.frm ; system rm var/master-data/test/t1.frm ;
delete from t1 where id = 3; delete from t1 where id = 3;
select * from t1; select * from t1 order by id;
show status like 'handler_discover%'; show status like 'handler_discover%';
drop table t1; drop table t1;
......
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