mercredi 7 janvier 2015

SQLite API to determine size of WAL file

Is there any api within SQLite which would return the current size of the WAL journal file? I need to check for its size periodically and perform some actions if it exceeds a certain limit. I am currently using system calls like stat() from my c++ program to achieve this, but just wondering if any inbuilt platform-independent method is available.


Aucun commentaire:

Enregistrer un commentaire