xsharp.eu • Why is DbInfo(DBI_BLOB_INTEGRITY) throwing a runtime exception?
Page 1 of 1

Why is DbInfo(DBI_BLOB_INTEGRITY) throwing a runtime exception?

Posted: Wed Mar 02, 2022 10:32 pm
by hilberg.it
Hi,
has anyone an idea, why DbInfo(DBI_BLOB_INTEGRITY) is throwing a runtime exception "1153 Operation not supported by current RDD" in X#, but is working in VO?
Thank you.

Code: Select all

DBUSEAREA( true, 'dbfcdx', PDBReplaceExt(cFileandPathName,"DBF"), 'TEMP', DBEXCLUSIVE, DBREADWRITE )
IF !DbInfo(DBI_BLOB_INTEGRITY) // integrity NOT OK!
      lCorrupted := true
      DbInfo(DBI_BLOB_RECOVER) // function to recover the file
ENDIF

Why is DbInfo(DBI_BLOB_INTEGRITY) throwing a runtime exception?

Posted: Wed Mar 02, 2022 10:47 pm
by Chris
This is indeed just not implemented in X# yet. I will open a ticket though, so it will be implemented in a future build!

Why is DbInfo(DBI_BLOB_INTEGRITY) throwing a runtime exception?

Posted: Thu Mar 03, 2022 7:38 am
by robert
This checks the integrity of the "free space" indexes in the FPT file (FlexFile supports free block recycling).
We have not implemented the Free Block recycling for FPT files yet in X# (FoxPro also does not support that).

Robert

Why is DbInfo(DBI_BLOB_INTEGRITY) throwing a runtime exception?

Posted: Thu Mar 03, 2022 7:51 am
by wriedmann
Hi Robert,
could you please increase the priority for the implementation of the free block recycling in FPT files?
This is important to save frequent reorganization processes, I think - and hopefully it is not too much work.
Wolfgang