提交 54ce19c0 编写于 作者: P plum-lihui

[TD-13350]<fix bug>

上级 bb3f4069
......@@ -117,7 +117,7 @@ if $data00 != NULL then
endi
sql select count(*), a from mt_unsigned_1 group by a;
if $rows != 1 then
if $rows != 2 then
return -1
endi
......@@ -125,12 +125,20 @@ if $data00 != 1 then
return -1
endi
if $data01 != 1 then
if $data01 != NULL then
return -1
endi
if $data10 != 1 then
return -1
endi
if $data11 != 1 then
return -1
endi
sql select count(*), b from mt_unsigned_1 group by b;
if $rows != 1 then
if $rows != 2 then
return -1
endi
......@@ -138,12 +146,20 @@ if $data00 != 1 then
return -1
endi
if $data01 != 2 then
if $data01 != NULL then
return -1
endi
if $data10 != 1 then
return -1
endi
if $data11 != 2 then
return -1
endi
sql select count(*), c from mt_unsigned_1 group by c;
if $rows != 1 then
if $rows != 2 then
return -1
endi
......@@ -151,12 +167,20 @@ if $data00 != 1 then
return -1
endi
if $data01 != 3 then
if $data01 != NULL then
return -1
endi
if $data10 != 1 then
return -1
endi
if $data11 != 3 then
return -1
endi
sql select count(*), d from mt_unsigned_1 group by d;
if $rows != 1 then
if $rows != 2 then
return -1
endi
......@@ -164,7 +188,15 @@ if $data00 != 1 then
return -1
endi
if $data01 != 4 then
if $data01 != NULL then
return -1
endi
if $data10 != 1 then
return -1
endi
if $data11 != 4 then
return -1
endi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册