提交 fbcf0dab 编写于 作者: S Shengliang Guan

test: show indexes

上级 0a1299c8
......@@ -53,6 +53,22 @@ sql create sma index sma_index_name1 on stb function(max(c1),max(c2),min(c1)) in
print --> drop stb
sql drop table stb;
print --> show sma
sql show indexes from d1
if $rows != 1 then
return -1
endi
if $data[0][0] != sma_index_name1 then
return -1
endi
if $data[0][0] != d1 then
return -1
endi
if $data[0][0] != stb then
return -1
endi
print ========== step4 repeat
print --> create stb
......@@ -64,6 +80,21 @@ sql create sma index sma_index_name1 on stb function(max(c1),max(c2),min(c1)) in
print --> drop stb
sql drop table stb;
print --> show sma
sql show indexes from stb
if $rows != 1 then
return -1
endi
if $data[0][0] != sma_index_name1 then
return -1
endi
if $data[0][0] != d1 then
return -1
endi
if $data[0][0] != stb then
return -1
endi
print ========== step5
sql drop database if exists db;
sql create database db duration 300;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册