My application is implemented by just using sqlite3_open(), sqlite3_exec() and sqlite3_close().
Additionally I want to execute the "checkpoint" function.
To do this, I just used the sqlite3_wal_checkpoint() api.
When I do this, it is the same effect with using the DB_ENV->txn_checkpoint() api?
If not, Is there any difference?
if using the C interface on top of the BDB SQL API, then using sqlite3_wal_checkpoint will trigger a checkpoint. If you are using BDB as a key/value store database and using the C interface then call DB_ENV->txn_checkpoint() would get you equivalent behavior.