From 7f056af8ec0859110b837f7f9014d6f5ef72f14e Mon Sep 17 00:00:00 2001 From: asfernandes Date: Mon, 7 Mar 2011 20:56:17 +0000 Subject: [PATCH] Fixed problem reported by Dmitry about values in DECLARE not being assigned to variables. --- src/dsql/parse.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dsql/parse.y b/src/dsql/parse.y index 660d9a0ca5..135e73ed7c 100644 --- a/src/dsql/parse.y +++ b/src/dsql/parse.y @@ -2281,7 +2281,7 @@ var_declaration_item : column_def_name domain_or_non_array_type collate_clause default_par_opt { DeclareVariableNode* node = newNode(); - 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; } ;