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

Fix another problem in cursor handling changes

This commit is contained in:
asfernandes 2009-12-27 16:49:23 +00:00
parent b4e63eba58
commit 4750f6415e

View File

@ -2557,6 +2557,8 @@ static void gen_select(DsqlCompilerScratch* dsqlScratch, dsql_nod* rse)
parameter = MAKE_parameter(statement->getReceiveMsg(), false, false, 0, NULL);
parameter->par_rec_version_relname = relation->rel_name;
paramContexts.put(parameter, context);
parameter->par_desc.dsc_dtype = dtype_text;
parameter->par_desc.dsc_ttype() = ttype_binary;
parameter->par_desc.dsc_length = relation->rel_dbkey_length / 2;