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

[TD-13350]<fix bug>

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