company logo

Database :: recoveryNumber - Current recovery number

The current recovery number refers to the recovery file currently used. This is not necessarily the last recovery file defined.

Return value:  Number of recovery file ( int32  )

Recovery files have got an internal number that has been generated when creating the recovery file (initializeRecovery()).

Implementation details

int32 Database  :: recoveryNumber (  )

The function returns the recovery number for the recovery file currently active. When recovery is not enabled, the function throws an exception.