Patch for missing ftMemo support in SqlDB + Firebird
Original Reporter info from Mantis: ggeldenhuys
-
Reporter name: Graeme Geldenhuys
Original Reporter info from Mantis: ggeldenhuys
- Reporter name: Graeme Geldenhuys
Description:
I discussed this in private with Michael van Canneyt and he confirmed the problem.
A Firebird connection via SqlDB did not handle ftMemo (Blob subtype 1) fields at all. The attached patch correctly sets the data type of a field, and correctly handle setting/retrieving ftMemo data.
I ran the extensive test suite from tiOPF project to test the patch. This single feature fixed some 50 failing tests with FPC 2.4.3 and tiOPF.
Seeing that this is really a bug in Sqldb (supporting binary blobs but forgot to support text/memo blobs), could this be back-ported to 2.4.3 as well please.
Mantis conversion info:
- Mantis ID: 18047
- OS: Ubuntu Linux
- OS Build: 10.04
- Platform: x86_64
- Version: 2.5.1
- Fixed in version: 2.4.4
- Fixed in revision: 16585 (#43228a40)
- Target version: 3.0.0