Merge pull request #15628 from taosdata/fix/valgrind
test: valgrind case
This commit is contained in:
commit
1fa556419e
|
@ -401,7 +401,7 @@
|
||||||
./test.sh -f tsim/field/tinyint.sim
|
./test.sh -f tsim/field/tinyint.sim
|
||||||
./test.sh -f tsim/field/unsigined_bigint.sim
|
./test.sh -f tsim/field/unsigined_bigint.sim
|
||||||
|
|
||||||
# ---- vector
|
# ---- vector ----
|
||||||
./test.sh -f tsim/vector/metrics_field.sim
|
./test.sh -f tsim/vector/metrics_field.sim
|
||||||
./test.sh -f tsim/vector/metrics_mix.sim
|
./test.sh -f tsim/vector/metrics_mix.sim
|
||||||
./test.sh -f tsim/vector/metrics_query.sim
|
./test.sh -f tsim/vector/metrics_query.sim
|
||||||
|
@ -414,10 +414,10 @@
|
||||||
./test.sh -f tsim/vector/table_query.sim
|
./test.sh -f tsim/vector/table_query.sim
|
||||||
./test.sh -f tsim/vector/table_time.sim
|
./test.sh -f tsim/vector/table_time.sim
|
||||||
|
|
||||||
# ---- wal
|
# ---- wal ----
|
||||||
./test.sh -f tsim/wal/kill.sim
|
./test.sh -f tsim/wal/kill.sim
|
||||||
|
|
||||||
# ---- tag
|
# ---- tag ----
|
||||||
./test.sh -f tsim/tag/3.sim
|
./test.sh -f tsim/tag/3.sim
|
||||||
./test.sh -f tsim/tag/4.sim
|
./test.sh -f tsim/tag/4.sim
|
||||||
./test.sh -f tsim/tag/5.sim
|
./test.sh -f tsim/tag/5.sim
|
||||||
|
|
|
@ -831,16 +831,10 @@ sql alter table $mt add tag tgcol4 int
|
||||||
sql alter table $mt add tag tgcol5 bigint
|
sql alter table $mt add tag tgcol5 bigint
|
||||||
sql alter table $mt add tag tgcol6 bigint
|
sql alter table $mt add tag tgcol6 bigint
|
||||||
|
|
||||||
return
|
sql reset query cache
|
||||||
sql alter table $mt add tag tgcol7 bigint -x step141
|
|
||||||
return -1
|
|
||||||
step141:
|
|
||||||
sql reset query cache
|
|
||||||
sql alter table $mt drop tag tgcol6
|
sql alter table $mt drop tag tgcol6
|
||||||
sql alter table $mt add tag tgcol7 bigint
|
sql alter table $mt add tag tgcol7 bigint
|
||||||
sql alter table $mt add tag tgcol8 bigint -x step142
|
sql alter table $mt add tag tgcol8 bigint
|
||||||
return -1
|
|
||||||
step142:
|
|
||||||
|
|
||||||
print =============== clear
|
print =============== clear
|
||||||
sql drop database $db
|
sql drop database $db
|
||||||
|
|
|
@ -100,11 +100,13 @@ sql select * from db.stb
|
||||||
sql select * from db.stb
|
sql select * from db.stb
|
||||||
sql_error create table db.ctb2 using db.stb tags(101, "102")
|
sql_error create table db.ctb2 using db.stb tags(101, "102")
|
||||||
sql create table db.ctb2 using db.stb tags(101, 102, "103", 104)
|
sql create table db.ctb2 using db.stb tags(101, 102, "103", 104)
|
||||||
sql insert into db.ctb2 values(now, 1, 2, 3)
|
sql insert into db.ctb2 values(now, 1, 2, 3)
|
||||||
|
|
||||||
print =============== step6: query data
|
print =============== step6: query data
|
||||||
sql select * from db.stb where tbname = 'ctb2';
|
sql select * from db.stb where tbname = 'ctb2';
|
||||||
|
sql alter table ctb2 set tag t1=1;
|
||||||
|
sql alter table ctb2 set tag t3='3';
|
||||||
|
sql select * from db.stb where t1 = 1;
|
||||||
|
|
||||||
print =============== step7: normal table
|
print =============== step7: normal table
|
||||||
sql create database d1 replica 1 duration 7 keep 50
|
sql create database d1 replica 1 duration 7 keep 50
|
||||||
|
|
|
@ -123,6 +123,12 @@ print =============== step6: in cast
|
||||||
sql select 1+1n;
|
sql select 1+1n;
|
||||||
sql select cast(1 as timestamp)+1n;
|
sql select cast(1 as timestamp)+1n;
|
||||||
sql select cast(1 as timestamp)+1y;
|
sql select cast(1 as timestamp)+1y;
|
||||||
|
sql select * from tb1 where ts in ('2018-07-10 16:31:01', '2022-07-10 16:31:03', 1657441865000);
|
||||||
|
sql select * from tb1 where tbcol2 in (257);
|
||||||
|
sql select * from tb1 where tbcol3 in (2, 257);
|
||||||
|
sql select * from stb where ts in ('2018-07-10 16:31:01', '2022-07-10 16:31:03', 1657441865000);
|
||||||
|
sql select * from stb where tbcol2 in (257);
|
||||||
|
sql select * from stb where tbcol3 in (2, 257);
|
||||||
|
|
||||||
print =============== check
|
print =============== check
|
||||||
$null=
|
$null=
|
||||||
|
|
Loading…
Reference in New Issue