提交 34efa468 编写于 作者: S slguan

fix issue #288

上级 1b7944bc
......@@ -91,7 +91,7 @@ int vnodeRenewCommitLog(int vnode) {
if (VALIDFD(pVnode->logFd)) {
munmap(pVnode->pMem, pVnode->mappingSize);
tclose(pVnode->logFd);
close(pVnode->logFd);
rename(fileName, oldName);
}
......
......@@ -134,7 +134,7 @@ void taosDeleteStrHashNode(void *handle, char *string, void *pDeleteNode) {
pNode = pNode->next;
}
if (find && pNode) {
if (find) {
if (pNode->prev) {
pNode->prev->next = pNode->next;
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册