mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 10:03:03 +01:00
Fixed bug CORE-6206 : VARCHAR of insufficient length used for set bind of decfloat to varchar
This commit is contained in:
parent
a791345283
commit
bf01700028
@ -248,6 +248,10 @@ bool CoercionRule::coerce(dsc* d) const
|
||||
if (toMask & FLD_has_sub)
|
||||
d->setBlobSubType(toDsc.getBlobSubType());
|
||||
|
||||
// varchar
|
||||
if (d->dsc_dtype == dtype_varying)
|
||||
d->dsc_length += sizeof(USHORT);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user