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

This commit is contained in:
wangxin
2021-04-17 11:49:20 +08:00
parent cffbc66df3
commit 71ee36edc8

View File

@ -1254,7 +1254,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,