[td-3003] <fix>: fix the bug in alter table.

This commit is contained in:
Haojun Liao 2021-02-25 13:32:09 +08:00
parent 88a3b03fdd
commit a95a2c7376
1 changed files with 1 additions and 1 deletions

View File

@ -1208,7 +1208,7 @@ bool validateOneColumn(SSqlCmd* pCmd, TAOS_FIELD* pColField) {
return false;
}
if (pColField->type < TSDB_DATA_TYPE_BOOL || pColField->type > TSDB_DATA_TYPE_NCHAR) {
if (pColField->type < TSDB_DATA_TYPE_BOOL || pColField->type > TSDB_DATA_TYPE_UBIGINT) {
invalidSqlErrMsg(tscGetErrorMsgPayload(pCmd), msg4);
return false;
}