提交 934f0518 编写于 作者: P plum-lihui

Merge branch '3.0' of https://github.com/taosdata/TDengine into 3.0

...@@ -114,9 +114,9 @@ sql create table c5 using st tags(2) ...@@ -114,9 +114,9 @@ sql create table c5 using st tags(2)
sql show tables sql show tables
print $data00 $data01 $data02 print $data00 $data01 $data02
#if $rows != 5 then if $rows != 5 then
# return -1 return -1
#endi endi
print =============== insert data print =============== insert data
sql insert into c1 values(now+1s, 1) sql insert into c1 values(now+1s, 1)
...@@ -177,7 +177,7 @@ if $rows != 3 then ...@@ -177,7 +177,7 @@ if $rows != 3 then
return -1 return -1
endi endi
#sql select * from st sql select * from st
#if $rows != 15 then #if $rows != 15 then
# return -1 # return -1
#endi #endi
......
...@@ -66,6 +66,24 @@ print =============== insert data ...@@ -66,6 +66,24 @@ print =============== insert data
sql insert into c1 values(now+1s, 1) sql insert into c1 values(now+1s, 1)
sql insert into c1 values(now+2s, 2) sql insert into c1 values(now+2s, 2)
sql insert into c1 values(now+3s, 3) sql insert into c1 values(now+3s, 3)
sql insert into c2 values(now+1s, 1)
sql insert into c2 values(now+2s, 2)
sql insert into c2 values(now+3s, 3)
sql insert into c3 values(now+1s, 1)
sql insert into c3 values(now+2s, 2)
sql insert into c3 values(now+3s, 3)
sql insert into c4 values(now+1s, 1)
sql insert into c4 values(now+2s, 2)
sql insert into c4 values(now+3s, 3)
sql insert into c5 values(now+1s, 1)
sql insert into c5 values(now+2s, 2)
sql insert into c5 values(now+3s, 3)
sql insert into c6 values(now+1s, 1)
sql insert into c6 values(now+2s, 2)
sql insert into c6 values(now+3s, 3)
sql insert into c7 values(now+1s, 1)
sql insert into c7 values(now+2s, 2)
sql insert into c7 values(now+3s, 3)
print =============== query data print =============== query data
sql select * from c1 sql select * from c1
...@@ -89,6 +107,42 @@ if $data21 != 3 then ...@@ -89,6 +107,42 @@ if $data21 != 3 then
return -1 return -1
endi endi
sql select * from c2
if $rows != 3 then
return -1
endi
sql select * from c3
if $rows != 3 then
return -1
endi
sql select * from c4
if $rows != 3 then
return -1
endi
sql select * from c5
if $rows != 3 then
return -1
endi
sql select * from c6
if $rows != 3 then
return -1
endi
sql select * from c7
if $rows != 3 then
return -1
endi
print =============== query data frpm st
sql select * from st
#if $rows != 21 then
# return -1
#endi
system sh/exec.sh -n dnode1 -s stop -x SIGINT system sh/exec.sh -n dnode1 -s stop -x SIGINT
system sh/exec.sh -n dnode1 -s start system sh/exec.sh -n dnode1 -s start
...@@ -114,4 +168,40 @@ if $data21 != 3 then ...@@ -114,4 +168,40 @@ if $data21 != 3 then
return -1 return -1
endi endi
sql select * from c2
if $rows != 3 then
return -1
endi
sql select * from c3
if $rows != 3 then
return -1
endi
sql select * from c4
if $rows != 3 then
return -1
endi
sql select * from c5
if $rows != 3 then
return -1
endi
sql select * from c6
if $rows != 3 then
return -1
endi
sql select * from c7
if $rows != 3 then
return -1
endi
print =============== query data frpm st
sql select * from st
#if $rows != 21 then
# return -1
#endi
system sh/exec.sh -n dnode1 -s stop -x SIGINT system sh/exec.sh -n dnode1 -s stop -x SIGINT
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册