gpt4 book ai didi

android - Android 是否在 "Shared-Cache Mode"中使用 SQLITE?

转载 作者:行者123 更新时间:2023-11-29 21:16:43 25 4
gpt4 key购买 nike

SQLite 有一个“共享缓存模式”
http://www.sqlite.org/sharedcache.html

并且显示可能会导致数据库损坏的bug
http://www.sqlite.org/changes.html

我想知道,我们可以在Android中使用这个模式吗?如果可以,API 在哪里?

nativeOpen()中,我找不到openflags SQLITE_SHAREDCACHE,我也在寻找与sqlite函数sqlite3_enable_shared_cache()相关的API

最佳答案

正如您在源代码中所见,Android 数据库 API 不使用 SQLite 的共享缓存模式。

关于android - Android 是否在 "Shared-Cache Mode"中使用 SQLITE?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21228494/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com