提交 4908c563 编写于 作者: H Haojun Liao

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

上级 4f4d39a1
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册