fix: fixed order by tbname for first last query
This commit is contained in:
parent
d992ab1401
commit
3383a57281
|
@ -283,7 +283,8 @@ 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;
|
||||||
|
print $data00 $data01 $data02 $data10 $data11 $data12
|
||||||
if $rows != 2 then
|
if $rows != 2 then
|
||||||
return -1
|
return -1
|
||||||
endi
|
endi
|
||||||
|
@ -312,4 +313,4 @@ if $data12 != @tm1@ then
|
||||||
return -1
|
return -1
|
||||||
endi
|
endi
|
||||||
|
|
||||||
sql drop table m1
|
sql drop table m1
|
||||||
|
|
Loading…
Reference in New Issue