Thursday, January 12, 2012

[android-developers] Can I trigger a checkpoint of SQLiteDatabase programtically?

I want to copy database file to SD card. But Write-Ahead Log (wal
file) has not writen to db file. It will write to db file when
checkpoint occurs as the SQLite offical document said :
http://www.sqlite.org/wal.html#ckpt.
So is there an API I can trigger a checkpoint of database, so after
that I can copy the db file to SD card?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate