Merge pull request #27571 from taosdata/fix/TD-31815

fix: file close issue
This commit is contained in:
Pan Wei 2024-08-30 15:20:15 +08:00 committed by GitHub
commit 5126cd1fe0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -1089,6 +1089,8 @@ void nodesDestroyNode(SNode* pNode) {
if (pStmt->destroyParseFileCxt) {
pStmt->destroyParseFileCxt(&pStmt->pParFileCxt);
}
(void)taosCloseFile(&pStmt->fp);
break;
}
case QUERY_NODE_CREATE_DATABASE_STMT: