提交 044c1ef8 编写于 作者: D Daniel Gustafsson

Don't switch to current, or missing, memorycontext

oldcontext may not be set here, and if it is we will be in that
context already.
上级 25c1380a
......@@ -2351,7 +2351,6 @@ ExecMakeTableFunctionResult(ExprState *funcexpr,
{
tuplestore_putvalues(tupstore, tupdesc, &result, &fcinfo.isnull);
}
MemoryContextSwitchTo(oldcontext);
/*
* Are we done?
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册