[td-3027] <fix>: fix bugs in alter table by adding unsigned tags.
This commit is contained in:
parent
a95a2c7376
commit
0f504c4a51
|
@ -1144,7 +1144,7 @@ bool validateOneTags(SSqlCmd* pCmd, TAOS_FIELD* pTagField) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((pTagField->type < TSDB_DATA_TYPE_BOOL) || (pTagField->type > TSDB_DATA_TYPE_NCHAR)) {
|
if ((pTagField->type < TSDB_DATA_TYPE_BOOL) || (pTagField->type > TSDB_DATA_TYPE_UBIGINT)) {
|
||||||
invalidSqlErrMsg(tscGetErrorMsgPayload(pCmd), msg6);
|
invalidSqlErrMsg(tscGetErrorMsgPayload(pCmd), msg6);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue