未验证 提交 20560eae 编写于 作者: S Shengliang Guan 提交者: GitHub

Merge pull request #15967 from taosdata/fix/valgrind

test: valgrind case
......@@ -7,7 +7,7 @@
./test.sh -f tsim/user/privilege_db.sim
./test.sh -f tsim/user/privilege_sysinfo.sim
# ---- db
# ---- db ----
./test.sh -f tsim/db/alter_option.sim
# unsupport ./test.sh -f tsim/db/alter_replica_13.sim
# unsupport ./test.sh -f tsim/db/alter_replica_31.sim
......@@ -316,6 +316,7 @@
./test.sh -f tsim/valgrind/checkError5.sim
./test.sh -f tsim/valgrind/checkError6.sim
./test.sh -f tsim/valgrind/checkError7.sim
./test.sh -f tsim/valgrind/checkError8.sim
./test.sh -f tsim/valgrind/checkUdf.sim
# --- vnode ----
......
......@@ -82,8 +82,6 @@ if $data26 != 21600m then
return -1
endi
return
print =============== step6
$i = $i + 1
while $i < 5
......@@ -251,7 +249,7 @@ if $rows != 5 then
return -1
endi
sql select * from $stb
sql select * from $st
if $rows != 5 then
return -1
endi
......@@ -306,7 +304,7 @@ if $rows != 5 then
return -1
endi
sql select * from $stb
sql select * from $st
if $rows != 5 then
return -1
endi
......
......@@ -53,6 +53,16 @@ print =============== step3: tb
sql select sum(tbcol) from stb partition by tbname interval(1s) slimit 1 soffset 1;
sql select sum(tbcol) from stb partition by tbname interval(1s) slimit 2 soffset 4 limit 10 offset 1;
sql select sum(tbcol) from stb partition by tbname interval(1s) slimit 1 soffset 1;
sql select sum(tbcol) from stb partition by tbname interval(1s) slimit 2 soffset 4 limit 10 offset 1;
sql select sum(tbcol) from stb partition by tbname interval(1s) slimit 1 soffset 1;
sql select sum(tbcol) from stb partition by tbname interval(1s) slimit 2 soffset 4 limit 10 offset 1;
sql select sum(tbcol) from stb partition by tbname interval(1s) slimit 1 soffset 1;
sql select sum(tbcol) from stb partition by tbname interval(1s) slimit 2 soffset 4 limit 10 offset 1;
sql select sum(tbcol) from stb partition by tbname interval(1s) slimit 1 soffset 1;
sql select sum(tbcol) from stb partition by tbname interval(1s) slimit 2 soffset 4 limit 10 offset 1;
sleep 1000
_OVER:
system sh/exec.sh -n dnode1 -s stop -x SIGINT
......
......@@ -113,6 +113,9 @@ sql select tbcol5 - tbcol3 from stb
sql select spread( tbcol2 )/44, spread(tbcol2), 0.204545455 * 44 from stb;
sql select min(tbcol) * max(tbcol) /4, sum(tbcol2) * apercentile(tbcol2, 20), apercentile(tbcol2, 33) + 52/9 from stb;
sql select distinct(tbname), tgcol from stb;
#sql select sum(tbcol) from stb partition by tbname interval(1s) slimit 1 soffset 1;
#sql select sum(tbcol) from stb partition by tbname interval(1s) slimit 2 soffset 4 limit 10 offset 1;
print =============== step5: explain
sql explain analyze select ts from stb where -2;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册