开发者

sqlite journal file location

Curently sqlite is writing 开发者_如何学JAVAjournal file in the same directory where is placed database file. It makes a problem with the directory permission (it has to be writable). Is there any method to force sqlite to write journal files in other directory?


No, but you can use PRAGMA journal_mode = PERSIST.


Setting the journal_mode to OFF or MEMORY should do the trick.

http://sqlite.org/pragma.html#pragma_journal_mode

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜