fix: file close issue

This commit is contained in:
dapan1121 2024-08-30 14:01:08 +08:00
parent e1079f3704
commit 73ad4becb5
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: