Construct an empty result for later result checking
This commit is contained in:
parent
52014a25ad
commit
ccd9cde5d1
|
@ -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
|
||||||
#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
|
||||||
|
|
Loading…
Reference in New Issue