fix: add test case

This commit is contained in:
slzhou 2023-06-07 08:16:49 +08:00
parent e2ac3d00ad
commit ca2314efdb
1 changed files with 8 additions and 0 deletions

View File

@ -42,4 +42,12 @@ endi
if $data00 != 4 then
return -1
endi
sql create table ctcount(ts timestamp, f int);
sql insert into ctcount(ts) values(now)(now+1s);
sql select count(*) from (select f from ctcount);
print $data00
if $data00 != 2 then
return -1
endi
system sh/exec.sh -n dnode1 -s stop -x SIGINT