ehn(query): dynamic set the initial buffer size for data block from disk.
This commit is contained in:
parent
4f4d39a16b
commit
4908c563cc
|
@ -3837,7 +3837,7 @@ int32_t tsdbReaderOpen(SVnode* pVnode, SQueryTableDataCond* pCond, void* pTableL
|
|||
|
||||
int32_t capacity = 0;
|
||||
if (pResBlock == NULL) {
|
||||
capacity = 4096;
|
||||
capacity = pVnode->config.tsdbCfg.maxRows;
|
||||
} else {
|
||||
capacity = pResBlock->info.capacity;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue