From c35f668c17efc567a1e6d25fb13bd7bc0cdfcb91 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Mon, 14 Nov 2022 14:37:28 +0800 Subject: [PATCH] refactor: increase the initial buffer size. --- source/libs/executor/src/executil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libs/executor/src/executil.c b/source/libs/executor/src/executil.c index f0db51dc9d..44390ca2e5 100644 --- a/source/libs/executor/src/executil.c +++ b/source/libs/executor/src/executil.c @@ -1770,7 +1770,7 @@ STableListInfo* tableListCreate() { goto _error; } - pListInfo->map = taosHashInit(32, taosGetDefaultHashFunction(TSDB_DATA_TYPE_BIGINT), false, HASH_ENTRY_LOCK); + pListInfo->map = taosHashInit(1024, taosGetDefaultHashFunction(TSDB_DATA_TYPE_BIGINT), false, HASH_ENTRY_LOCK); if (pListInfo->map == NULL) { goto _error; } -- GitLab