From 7a237504f95ec2950fa200cd83e9a0888aa7f721 Mon Sep 17 00:00:00 2001 From: slzhou Date: Thu, 21 Dec 2023 09:36:11 +0800 Subject: [PATCH] fix: change pagesize of row storage disk based buf --- source/libs/executor/src/scanoperator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libs/executor/src/scanoperator.c b/source/libs/executor/src/scanoperator.c index b567d46a4a..2b95fa8e4d 100644 --- a/source/libs/executor/src/scanoperator.c +++ b/source/libs/executor/src/scanoperator.c @@ -3578,7 +3578,7 @@ int32_t startRowIdSort(STableMergeScanInfo *pInfo) { pageSize *= 2; int numOfTables = pInfo->tableEndIndex - pInfo->tableStartIndex + 1; int32_t memSize = MIN(pageSize * numOfTables, 512 * 1024 * 1024); - int32_t code = createDiskbasedBuf(&pSort->pExtSrcRowsBuf, pageSize * 2, memSize, "tms-ext-src-block", tsTempDir); + int32_t code = createDiskbasedBuf(&pSort->pExtSrcRowsBuf, pageSize, memSize, "tms-ext-src-block", tsTempDir); dBufSetPrintInfo(pSort->pExtSrcRowsBuf); return code; }