Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2005-12

Patch to sqliteds and db units

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

pascalive

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

Reply by email