mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-02-02 10:40:38 +01:00
Fixed CORE-4081 - Built-in functions and subselect no longer supported in "update or insert" value list.
This commit is contained in:
parent
bca2d1dcd2
commit
0d403112c5
@ -11192,7 +11192,7 @@ ValueExprNode* VariableNode::dsqlPass(DsqlCompilerScratch* dsqlScratch)
|
||||
{
|
||||
VariableNode* node = FB_NEW(getPool()) VariableNode(getPool());
|
||||
node->dsqlName = dsqlName;
|
||||
node->dsqlVar = dsqlScratch->resolveVariable(dsqlName);
|
||||
node->dsqlVar = dsqlVar ? dsqlVar.getObject() : dsqlScratch->resolveVariable(dsqlName);
|
||||
|
||||
if (!node->dsqlVar)
|
||||
PASS1_field_unknown(NULL, dsqlName.c_str(), this);
|
||||
|
Loading…
Reference in New Issue
Block a user