sqlite 的持久日志模式从什么时候开始成为 Android 中的默认日志模式? [英] Since when does sqlite's persist journal mode become the default journal mode in Android?

查看:12
本文介绍了sqlite 的持久日志模式从什么时候开始成为 Android 中的默认日志模式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

sqlite 的持久日志模式从什么时候开始成为 Android 的默认日志模式?

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

我知道日志模式在 Android 4.1.1 (API 16) 版本中发生了变化.但它并不准确.因为发行说明不包含此信息.我不知道我是否可以在发行说明中找到.如果您知道有人确切知道 Android 中 SQLite 日志模式何时更改,请告诉我.

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.

推荐答案

我不认为 journal_mode 是默认的 PERSIST,而是 DELETE 是默认的.但是,这只是 a) 根据 SQLIte 文档和 b) 检查几个模拟设备和一个真实设备:-

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:-

  • 真机 HTC Android 6.0.1
  • GenyMotion 设备 6.0.0
  • GenyMotion 设备 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.

来自 GenyMotion 设备的屏幕截图(碰巧我正在玩提供这些信息的东西):-

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

这篇关于sqlite 的持久日志模式从什么时候开始成为 Android 中的默认日志模式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆