【标题】 修复I8HWKW所示的断言问题.
【实现内容】: 修复I8HWKW所示的断言问题 【根因分析】: 其实主要是因为between and的时候,应该会访问两次context->refcount++的,但是事实上只访问了一次,因此最后context->refcount=-1触发了断言。 【实现方案】: 修复between and时候只访问context->refcount一次的问题。 【关联需求或issue】: https://e.gitee.com/opengaussorg/dashboard?issue=I8HWKW
This commit is contained in:
@ -1393,6 +1393,7 @@ static Node* transformAExprOp(ParseState* pstate, A_Expr* a)
|
||||
|
||||
static Node* transformAExprAnd(ParseState* pstate, A_Expr* a)
|
||||
{
|
||||
a->rexpr = (Node *)copyObject(a->rexpr);
|
||||
Node* lexpr = transformExprRecurse(pstate, a->lexpr);
|
||||
Node* rexpr = transformExprRecurse(pstate, a->rexpr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user