未验证 提交 bee2d4d5 编写于 作者: S shenglian-zhou 提交者: GitHub

Merge pull request #10814 from taosdata/fix/TD-14121

[TD-14121]<fix>: script/general/compute/cast.sim failed on ARM64 Linux
...@@ -1159,10 +1159,14 @@ if $data40 != 4 then ...@@ -1159,10 +1159,14 @@ if $data40 != 4 then
return -1 return -1
endi endi
if $data50 != NULL then if $data50 != NULL then
return -1 if $data50 != 9223372036854775807 then #for arm64
return -1
endi
endi endi
if $data60 != NULL then if $data60 != NULL then
return -1 if $data60 != 9223372036854775807 then #for arm64
return -1
endi
endi endi
sql select cast(c6 as binary(60)) from tb1; sql select cast(c6 as binary(60)) from tb1;
if $rows != 7 then if $rows != 7 then
...@@ -1234,10 +1238,14 @@ if $data40 != @70-01-01 08:00:00.004@ then ...@@ -1234,10 +1238,14 @@ if $data40 != @70-01-01 08:00:00.004@ then
return -1 return -1
endi endi
if $data50 != NULL then if $data50 != NULL then
return -1 if $data50 != @94-08-17 15:12:55.807@ then #for arm64
return -1
endi
endi endi
if $data60 != NULL then if $data60 != NULL then
return -1 if $data60 != @94-08-17 15:12:55.807@ then #for arm64
return -1
endi
endi endi
sql select cast(c6 as nchar(50)) from tb1; sql select cast(c6 as nchar(50)) from tb1;
if $rows != 7 then if $rows != 7 then
...@@ -1332,10 +1340,14 @@ if $data40 != 4 then ...@@ -1332,10 +1340,14 @@ if $data40 != 4 then
return -1 return -1
endi endi
if $data50 != NULL then if $data50 != NULL then
return -1 if $data50 != 9223372036854775807 then #for arm64
return -1
endi
endi endi
if $data60 != NULL then if $data60 != NULL then
return -1 if $data60 != 9223372036854775807 then #for arm64
return -1
endi
endi endi
sql select cast(c7 as binary(400)) from tb1; sql select cast(c7 as binary(400)) from tb1;
if $rows != 7 then if $rows != 7 then
...@@ -1407,10 +1419,14 @@ if $data40 != @70-01-01 08:00:00.004@ then ...@@ -1407,10 +1419,14 @@ if $data40 != @70-01-01 08:00:00.004@ then
return -1 return -1
endi endi
if $data50 != NULL then if $data50 != NULL then
return -1 if $data50 != @94-08-17 15:12:55.807@ then #for arm64
return -1
endi
endi endi
if $data60 != NULL then if $data60 != NULL then
return -1 if $data60 != @94-08-17 15:12:55.807@ then #for arm64
return -1
endi
endi endi
sql select cast(c7 as nchar(500)) from tb1; sql select cast(c7 as nchar(500)) from tb1;
if $rows != 7 then if $rows != 7 then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册