Since when does sqlite's persist journal mode become the default journal mode in Android?

不羁的心 提交于 2019-12-12 20:14:42

问题


Since when does sqlite's persist journal mode become the default journal mode in Android?

I know that the journal mode have changed in Android version 4.1.1 (API 16). But it is not accurate. Because the release notes do not contain this information. I do not know if i can find in release note. If you know someone who knows exactly when SQLite journal mode was changed in Android, plz let me know.


回答1:


I don't think journal_mode is PERSIST by default rather that DELETE is the default. However, that is only a) according to the SQLIte documentation and b) checking a few emulated devices and one real device:-

  • real device HTC Android 6.0.1
  • GenyMotion device 6.0.0
  • GenyMotion device 5.1.0

I believe vendors may have the ability to alter various factors that would probably make an actual date or version unreliable anyway.

Screen Shots from the GenyMotion devices (just so happens I'm playing around with something that provides this information) :-



来源:https://stackoverflow.com/questions/46880610/since-when-does-sqlites-persist-journal-mode-become-the-default-journal-mode-in

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!