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

Fixed segfault during DEV_BUILD

This commit is contained in:
alexpeshkoff 2010-06-16 12:44:43 +00:00
parent a9adf6d626
commit a9446e6740

View File

@ -192,7 +192,7 @@ void BlockNode::putLocalVariables(DsqlCompilerScratch* dsqlScratch, const dsql_n
dsql_nod* var_node = MAKE_variable(field, field->fld_name.c_str(), VAR_local, 0, 0, locals);
variables.add(var_node);
dsql_var* variable = (dsql_var*) var_node->nod_arg[e_var_variable];
dsql_var* variable = (dsql_var*) var_node->nod_arg[Dsql::e_var_variable];
putLocalVariable(dsqlScratch, variable, parameter,
reinterpret_cast<const dsql_str*>(parameter->nod_arg[e_dfl_collate]));