fix test case

This commit is contained in:
yihaoDeng 2023-08-30 11:14:48 +08:00
parent 89bb80db65
commit 9842f3af8c
1 changed files with 16 additions and 1 deletions

View File

@ -18,6 +18,20 @@ sql use $dbPrefix
print =============== create super table and register tag index
sql create table if not exists $mtPrefix (ts timestamp, c1 int) tags (t1 int, t2 int, t3 int, t4 int, t5 int)
sql use information_schema;
sql create index t2i on ta_3_db.ta_3_mt(t2)
sql_error create index t3i on ta_3_mt(t3)
sql_error drop index t2i
sql drop index ta_3_db.t2i
sql use $dbPrefix
sql show stables
if $rows != 1 then
return -1
@ -310,4 +324,5 @@ sql_error create index ti2 on $mtPrefix (t1)
sql_error create index t2i on ta_3_tb17 (t2)
system sh/exec.sh -n dnode1 -s stop -x SIGINT
system sh/exec.sh -n dnode1 -s stop -x SIGINT