提交 020b7151 编写于 作者: H Hongze Cheng

fix: coverity scan

上级 9903bbc5
......@@ -731,7 +731,7 @@ static int metaAlterTableColumn(SMeta *pMeta, int64_t version, SVAlterTbReq *pAl
SSchemaWrapper *pSchema;
int c;
if (pAlterTbReq->colName == NULL) {
if (pAlterTbReq->colName == NULL || pAlterTbReq->colNewName == NULL) {
terrno = TSDB_CODE_INVALID_MSG;
return -1;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册