test: add order by tbname to check the result

This commit is contained in:
Cary Xu 2022-07-30 09:44:14 +08:00
parent 466e7965ed
commit 81ec564293
1 changed files with 3 additions and 1 deletions

View File

@ -283,12 +283,14 @@ print ================== server restart completed
sql connect sql connect
sql use first_db0; sql use first_db0;
sql select last(*), tbname from m1 group by tbname; sql select last(*), tbname from m1 group by tbname order by tbname;
if $rows != 2 then if $rows != 2 then
return -1 return -1
endi endi
if $data00 != @20-03-01 01:01:01.000@ then if $data00 != @20-03-01 01:01:01.000@ then
print data00 $data00 != 20-03-01 01:01:01.000@
return -1 return -1
endi endi