fix issue #288
This commit is contained in:
parent
1b7944bc4e
commit
34efa468ad
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue