Adding data to indexed bufdataset does not sort it in correctly
Original Reporter info from Mantis: BigChimp
-
Reporter name: Reinier Olislagers
Original Reporter info from Mantis: BigChimp
- Reporter name: Reinier Olislagers
Description:
Adding a record to a bufdataset where an index is active that should cause the record to be sorted into the ds before the end does not work.
Instead, the record is added (and remains) at the end.
Applying another (e.g. from ascending to descending) index has no effect.
Steps to reproduce:
Run e.g. the example (which contains an error description) in bufdatasetsorterrors.zip 23421 Repeatedly duplicated entries when you add a new entry and use Index in BufDataset, http://bugs.freepascal.org/file_download.php?file_id=17477&type=bug
Additional information:
Manifests itself in Lazarus bug 23421 Repeatedly duplicated entries when you add a new entry and use Index in BufDataset
Behaviour previously commented on in
20514: Adding index to Tbufdataset causes it to stop storing data