ehn(query): dynamic set the initial buffer size for data block from disk.

This commit is contained in:
Haojun Liao 2023-02-10 14:35:18 +08:00
parent 4f4d39a16b
commit 4908c563cc
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}