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

Correction for cursor-based UPDATE/DELETE.

This commit is contained in:
asfernandes 2011-04-13 16:57:58 +00:00
parent b4056a0463
commit 13bc02b147

View File

@ -242,7 +242,7 @@ void GEN_port(DsqlCompilerScratch* dsqlScratch, dsql_msg* message)
} }
} }
if (parameter->par_desc.dsc_dtype == dtype_text) if (parameter->par_desc.dsc_dtype == dtype_text && parameter->par_index != 0)
{ {
// We should convert par_desc from text to varying so the user can receive it with // We should convert par_desc from text to varying so the user can receive it with
// correct length when requesting it as varying. See CORE-2606. // correct length when requesting it as varying. See CORE-2606.