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

Construct an empty result for later result checking

上级 52014a25
...@@ -212,12 +212,11 @@ if $data00 != shanghai then ...@@ -212,12 +212,11 @@ if $data00 != shanghai then
endi endi
##### test 'space' case ##### test 'space' case
$tagvalue = '' system_content echo ' ' | sed 's/ //g' | tr -d '\n' # Construct an empty result for later result checking
$tagvalue = $tagvalue '
sql alter table st41 set tag tag_binary = "" sql alter table st41 set tag tag_binary = ""
sql select tag_binary, tag_nchar, tag_int, tag_bool, tag_float, tag_double from st41 sql select tag_binary, tag_nchar, tag_int, tag_bool, tag_float, tag_double from st41
if $data00 != @@ then if $data00 != $system_content then
print expect , actual $data00 print expect [ $system_content ], actual [ $data00 ]
return -1 return -1
endi endi
...@@ -498,4 +497,4 @@ sql_error alter table st51 set tag tag_tinyint = abc379 ...@@ -498,4 +497,4 @@ sql_error alter table st51 set tag tag_tinyint = abc379
#sql drop database $db #sql drop database $db
system sh/exec.sh -n dnode1 -s stop -x SIGINT system sh/exec.sh -n dnode1 -s stop -x SIGINT
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册