[fpc-devel] Warning for sqldb and fpc 2.1.1 users
micha at neli.hopto.org
Sat Apr 1 18:56:59 CEST 2006
On Sat, 01 Apr 2006 18:06:31 +0200
Joost van der Sluis <joost at cnoc.nl> wrote:
> Further I have a question: now sqldb uses a linked-list record buffer,
> the RecordCount and RecNo properties are something strange.
> What should I do with recordcount? I can add a counter which keep track
> of the recordcount. Ie: it does inc(recordcount) if a record is
Keep a counter.
> Or I can do a real count of the records, each time recordcount is
No, too slow.
> And what about recno? Just define it as -1, or do a quick count to get
> the current record number?
Store the recno with/in the linked list entry ?
More information about the fpc-devel