未验证 提交 ac794240 编写于 作者: S Shengliang Guan 提交者: GitHub

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

fix null/NULL issue in alter.sim
...@@ -38,7 +38,7 @@ endi ...@@ -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 ...@@ -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 ...@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册