fix TD-1112

This commit is contained in:
Hongze Cheng 2020-08-11 11:36:01 +08:00
parent 5d5137adac
commit 082584e439
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ void *tsdbAllocBytes(STsdbRepo *pRepo, int bytes) {
} }
pNode->next = pNode->prev = NULL; pNode->next = pNode->prev = NULL;
tdListAppend(pRepo->mem->extraBuffList, pNode); tdListAppendNode(pRepo->mem->extraBuffList, pNode);
ptr = (void *)(pNode->data); ptr = (void *)(pNode->data);
tsdbTrace("vgId:%d allocate %d bytes from SYSTEM buffer block", REPO_ID(pRepo), bytes); tsdbTrace("vgId:%d allocate %d bytes from SYSTEM buffer block", REPO_ID(pRepo), bytes);
} else { // allocate from TSDB buffer pool } else { // allocate from TSDB buffer pool