enh: index support between
This commit is contained in:
parent
1f5ad0f1ec
commit
9987c66467
|
@ -25,12 +25,13 @@ sql insert into db.ctb5 values(now, 5, "2")
|
|||
|
||||
sql create table db.ctb6 using db.stb tags(6, "102")
|
||||
sql insert into db.ctb6 values(now, 6, "2")
|
||||
// int
|
||||
|
||||
sql select * from db.stb where t1 = 1
|
||||
if $rows != 1 then
|
||||
return -1
|
||||
endi
|
||||
|
||||
|
||||
sql select * from db.stb where t1 < 1
|
||||
if $rows != 0 then
|
||||
return -=1
|
||||
|
@ -56,4 +57,21 @@ if $rows != 5 then
|
|||
return -1
|
||||
endi
|
||||
|
||||
sql select * from db.stb where t1 between 1 and 1
|
||||
if $rows != 1 then
|
||||
return -1
|
||||
endi
|
||||
|
||||
sql select * from db.stb where t1 between 1 and 6
|
||||
if $rows != 6 then
|
||||
return -1
|
||||
endi
|
||||
|
||||
sql select * from db.stb where t1 between 1 and 7
|
||||
if $rows != 6 then
|
||||
return -1
|
||||
endi
|
||||
|
||||
|
||||
|
||||
system sh/exec.sh -n dnode1 -s stop -x SIGINT
|
||||
|
|
Loading…
Reference in New Issue