New features and enhancements:
- 1. Two TFIBDatabase methods supporting new commands RDB$GET_CONTEXT and
RDB$SET_CONTEXT implemented in Firebird 2 have been added.
function GetContextVariable (ContextSpace: TFBContextSpace; const VarName:
string): Variant;
procedure SetContextVariable (ContextSpace: TFBContextSpace; const VarName,
VarValue: string);
Bugs fixed:
- 1. An error in the TpFIBQuery.SetAsExtended method. Fixed.
- A minor memory leak in RegUtils. Fixed.
- An error occurring on writing into a Blob field with TDataSetProvider. Fixed.
- An error "Can't read buffer. Invalid RecordNo”, occurred under certain
conditions. Fixed.
- Wrong results of calling the Refresh method in TpFIBDataSet occurred under
certain conditions. Fixed.
- An error on reading a Blob field in the OnCalcFields handler. Fixed.
- An error in the Locate method of the TpFIBDataSet component occurred in
case when not all records were fetched from the server. Fixed.
- Wrong results of the Origin property with FieldOriginRule = forNoRule Fixed.
- An error of generating SQL statements with UpdateOnlyModifiedFields=True
in the TpFIBDataSet component (appeared in NUMERIC(18,x) fields on trying
to replace the NULL value by 0 and vice versa. FIBPlus wrongly considered
these fields non changeable).
- Wrong work of DisplayFormat for NUMERIC(18,x) fields. It occurred on using
non mask symbols, i.e. "$ #,000 and 00 cents". Fixed.
- An error in client calculated fields. (The buffer was not cleared before
the field calculation. The error occurred in case when a field was calculated
for the previous record, not for the current one in OnCalcFields. Then, instead
of an empty value, the previous record value was shown in the current record).
Fixed.
- Wrong search of the True Boolean value in TpFIBBooleanField. Fixed.
- An AV in TFIBStringField occurred under certain conditions when using the
psSetEmptyStrToNull property. Fixed.
- Useless quotes in the automatic GeneratorName value. Fixed.
- An error of defining key fields in SQLEditor Fixed.
- Nested parameters were not set in RefreshSQL on using macros. Fixed.