diff --git a/tests/script/general/parser/columnValue_unsign.sim b/tests/script/general/parser/columnValue_unsign.sim index 8e44ccb5facf074691f3aeeb7c60099ab6ef691f..9e011dd74ab49d8fc9617a20e6478d1e463c2433 100644 --- a/tests/script/general/parser/columnValue_unsign.sim +++ b/tests/script/general/parser/columnValue_unsign.sim @@ -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