Merge pull request #2291 from taosdata/hotfix/sangshuduo/alter-table-case
fix null/NULL issue in alter.sim
This commit is contained in:
commit
ac794240fa
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue