mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 18:43:03 +01:00
Correction for cursor-based UPDATE/DELETE.
This commit is contained in:
parent
b4056a0463
commit
13bc02b147
@ -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
|
||||
// correct length when requesting it as varying. See CORE-2606.
|
||||
|
Loading…
Reference in New Issue
Block a user