提交 8ceab6e4 编写于 作者: N Ning Yu

resgroup: remove a misplaced return command

上级 ede74cdc
......@@ -1238,7 +1238,6 @@ ResourceGroupGetQueryMemoryLimit(void)
* RESGROUP_BYPASS_MODE_MEMORY_LIMIT_ON_QE chunk,
* we should make sure query_mem + misc mem <= chunk.
*/
return bytesInChunk * RESGROUP_BYPASS_MODE_MEMORY_LIMIT_ON_QE / 2;
return Min(bytesInMB,
bytesInChunk * RESGROUP_BYPASS_MODE_MEMORY_LIMIT_ON_QE / 2);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册