[Pxlib-devel] pxlib deleting records problem
Brought to you by:
steinm
|
From: Petr G. <gr...@gr...> - 2012-07-23 16:36:43
|
Hi,
First I would like to thank you for pxlib.
Second, I think I found a bug.
If I try to delete records like this:
for(int i = 0; i<recordsCount; i++) {
PX_delete_record(table, i);
}
I get these messages:
If I close the file and then open it again:
Number of records counted in blocks does not match number of records in
header (149 != 0)
If I immidiately try to insert new record:
PXLib: Number of records of block stored in index (0) is unequal to number
of records stored in block header (149).
PXLib: Error while searching for free slot of new record.
Am I doing something wrong?
Thank you.
|