I'm sending two patches: sqliteds.zip which applies to sqlite*ds units and 
db.zip which applies to db unit. While the second is only minor performance 
tweaks, i recommend applying the first one since it fixes a bug that can lead 
to data loss

Changes in sqliteds.zip:
- 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
- Changed the order of the updates (delete,insert,updates) to prevent data loss 
in some situations
- Performance improvement to ApplyUpdates
- Small refactorings and some debug info tweaks

Changes 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

<<attachment: db.zip>>

<<attachment: sqliteds.zip>>

_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to