修复SystemCache清理逻辑错误的问题

This commit is contained in:
wangxin 2021-04-17 11:49:20 +08:00 committed by zhaowenhao
parent b872b011ea
commit 440355076f
1 changed files with 1 additions and 1 deletions

View File

@ -1253,7 +1253,7 @@ static void alloc_context_from_top(knl_session_context* sess, MemoryContext top_
"SessionCacheMemoryContext",
ALLOCSET_DEFAULT_MINSIZE,
ALLOCSET_DEFAULT_INITSIZE,
ALLOCSET_DEFAULT_MAXSIZE);
(1024 * 1024)); /* set max block size to 1MB */
sess->temp_mem_cxt = AllocSetContextCreate(top_mem_cxt,
"SessionTempMemoryContext",
ALLOCSET_DEFAULT_MINSIZE,