[fpc-devel] Warning for sqldb and fpc 2.1.1 users

Micha Nelissen micha at neli.hopto.org
Sun Apr 2 08:56:58 CEST 2006


On Sat, 01 Apr 2006 18:33:10 -0300
Luiz Americo Pereira Camara <pascalive at bol.com.br> wrote:

> >> And what about recno? Just define it as -1, or do a quick count to get
> >> the current record number?
> >>     
> Take a look at TCustomSqliteDataset implementation. In its 
> implementation a count is done each time.
> > Store the recno with/in the linked list entry ?
> >
> >   
> It has two drawbacks: increase memory usage and when inserting, deleting 
> all following records must be updated.

An array of records has the same problem, no ? So these are not drawbacks
IMHO.

Micha



More information about the fpc-devel mailing list