[td-4865]add test cases.

This commit is contained in:
Haojun Liao 2021-07-02 22:14:11 +08:00
parent 84c8fc9e6c
commit 4873f4b970
1 changed files with 19 additions and 0 deletions

View File

@ -430,5 +430,24 @@ print ===========>td-4805
sql_error select tbname, i from (select * from nest_tb0) group by i;
sql select count(*),c1 from (select * from nest_tb0) where c1 < 2 group by c1;
if $rows != 2 then
return -1
endi
if $data00 != 100 then
return -1
endi
if $data01 != 0 then
return -1
endi
if $data10 != 100 then
return -1
endi
if $data11 != 1 then
return -1
endi
system sh/exec.sh -n dnode1 -s stop -x SIGINT