mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 06:43:03 +01:00
Correction for my prior commit.
This commit is contained in:
parent
2760c2ce02
commit
b745ca1f93
@ -776,7 +776,8 @@ void INI_init2()
|
|||||||
|
|
||||||
// In ODS prior to 11.2 all varchar columns were actually
|
// In ODS prior to 11.2 all varchar columns were actually
|
||||||
// two bytes shorter than defined in fields.h
|
// two bytes shorter than defined in fields.h
|
||||||
if (ENCODE_ODS(major_version, minor_original) < ODS_11_2)
|
if (desc->dsc_dtype == dtype_varying &&
|
||||||
|
ENCODE_ODS(major_version, minor_original) < ODS_11_2)
|
||||||
{
|
{
|
||||||
desc->dsc_length -= sizeof(USHORT);
|
desc->dsc_length -= sizeof(USHORT);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user