[fpc-devel] Patch to sqliteds and db units

pascalive pascalive at bol.com.br
Sat Dec 17 13:09:54 CET 2005


Here's a patch that does the following in *sqlite*ds:

- Change the way the database handle is retrieved
- Makes CreateBlobStream handle bmWrite mode properly
- Makes changes in Get/SetFieldData to adapt to recent changes in TDataset
- Small refactorings and some debug info tweaks

BTW:
  As suggestions to the recent changes made in TDataset, please consider the following (patches in db.zip):
 - Make TField.GetData(Buffer: Pointer) and TField.SetData(Buffer: Pointer) inlined (reduces function call overhead without increasing size)
 - Changes the order of the "if" in GetData so it evaluates to true in most frequent situation

Luiz Americo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: db.zip
Type: application/zip
Size: 959 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20051217/1c3d4109/attachment.zip>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sqliteds.zip
Type: application/zip
Size: 5843 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20051217/1c3d4109/attachment-0001.zip>


More information about the fpc-devel mailing list