8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 22:03:03 +01:00

Fixed problem reported by Dmitry about values in DECLARE not being assigned to variables.

This commit is contained in:
asfernandes 2011-03-07 20:56:17 +00:00
parent 311b8ffd78
commit 7f056af8ec

View File

@ -2281,7 +2281,7 @@ var_declaration_item
: column_def_name domain_or_non_array_type collate_clause default_par_opt
{
DeclareVariableNode* node = newNode<DeclareVariableNode>();
node->dsqlDef = FB_NEW(getPool()) ParameterClause(getPool(), $1, toName($3), NULL, $4);
node->dsqlDef = FB_NEW(getPool()) ParameterClause(getPool(), $1, toName($3), $4, NULL);
$$ = node;
}
;