提交 2ed28bf7 编写于 作者: H Haojun Liao

[td-1752] add test cases.

上级 7c4276cb
...@@ -357,4 +357,32 @@ print ========================> td-1756 ...@@ -357,4 +357,32 @@ print ========================> td-1756
sql_error select * from t1 where ts>now-1y sql_error select * from t1 where ts>now-1y
sql_error select * from t1 where ts>now-1n sql_error select * from t1 where ts>now-1n
print ========================> td-1752
sql select * from st2 where t2 < 200 and t2 is not null;
if $rows != 1 then
return -1
endi
if $data00 != @19-12-09 16:27:35.000@ then
return -1
endi
if $data01 != 2 then
return -1
endi
if $data02 != 1 then
return -1
endi
sql select * from st2 where t2 > 200 or t2 is null;
if $rows != 0 then
return -1
endi
sql select * from st2 where t2 < 200 and t2 is null;
if $rows != 0 then
return -1
endi
system sh/exec.sh -n dnode1 -s stop -x SIGINT system sh/exec.sh -n dnode1 -s stop -x SIGINT
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册