Merge pull request #2291 from taosdata/hotfix/sangshuduo/alter-table-case

fix null/NULL issue in alter.sim
This commit is contained in:
Shengliang Guan 2020-06-15 18:45:24 +08:00 committed by GitHub
commit ac794240fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -38,7 +38,7 @@ endi
if $data02 != 1 then if $data02 != 1 then
return -1 return -1
endi endi
if $data03 != NULL then if $data03 != null then
return -1 return -1
endi endi
sql alter table tb add column c3 nchar(4) sql alter table tb add column c3 nchar(4)
@ -72,7 +72,7 @@ endi
if $data02 != 1 then if $data02 != 1 then
return -1 return -1
endi endi
if $data03 != NULL then if $data03 != null then
return -1 return -1
endi endi
@ -169,7 +169,7 @@ endi
if $data01 != 2 then if $data01 != 2 then
return -1 return -1
endi endi
if $data02 != NULL then if $data02 != null then
return -1 return -1
endi endi
sql alter table mt add column c2 int sql alter table mt add column c2 int
@ -239,4 +239,4 @@ if $rows != 0 then
return -1 return -1
endi endi
system sh/exec.sh -n dnode1 -s stop -x SIGINT system sh/exec.sh -n dnode1 -s stop -x SIGINT