Merged rev 1442: Firebird: use of isc_dsql_allocate_statement instead of isc_dsql_alloc_statement2. The latter NULLs statement handle while TZInterbase6Statement.ExecuteQuery uses a local variable (stack) to store the handle. isc_detach_database NULLs the statement handle which is already a long time out of scope causing random crashes.
Merged rev 1444: TZAbstractRODataset.GetFieldData used PWideString(Buffer)^ assignment but Widestring is a COM managed string under windows and FPC. Since buffer is not initialized, the re-allocation of PWideString(Buffer)^ failed. Changed to a tradional system.move operation.
Merged rev 1454: Corrected {$UNDEFINE x} changed to {$UNDEF x}
Reverted accidental ztestall.lpi check in
Firebird: use of isc_dsql_allocate_statement instead of isc_dsql_alloc_statement2. The latter NULLs statement handle while TZInterbase6Statement.ExecuteQuery uses a local variable (stack) to store the handle. isc_detach_database NULLs the statement handle which is already a long time out of scope causing random crashes.
TZAbstractRODataset.GetFieldData used PWideString(Buffer)^ assignment but Widestring is a COM managed string under windows and FPC. Since buffer is not initialized, the re-allocation of PWideString(Buffer)^ failed. Changed to a tradional system.move operation.
Corrected {$UNDEFINE x} changed to {$UNDEF x}
Fixed test for postgres bug 739514