提交 1175e834 编写于 作者: H Haojun Liao

[td-225] add more check.

上级 01962da4
......@@ -474,7 +474,10 @@ SFromInfo *setSubquery(SFromInfo* pFromInfo, SQuerySqlNode* pSqlNode) {
}
void* destroyFromInfo(SFromInfo* pFromInfo) {
assert(pFromInfo != NULL);
if (pFromInfo == NULL) {
return NULL;
}
if (pFromInfo->type == SQL_NODE_FROM_NAMELIST) {
taosArrayDestroy(pFromInfo->tableList);
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册