【发布时间】:2015-02-07 00:21:02
【问题描述】:
我已经用 Android 5.0 Lollipop 升级了我的 Nexus 7,在此之前我的应用程序在 SQLite 数据库 上运行良好,但现在每当我执行任何类型的查询时,它都会给我 log cat error 喜欢:
12-09 12:37:04.942: E/SQLiteLog(13041): (284) automatic index on area(server_id)
12-09 12:37:04.942: E/SQLiteLog(13041): (284) automatic index on account(area_id)
12-09 12:37:04.942: E/SQLiteLog(13041): (284) automatic index on staff_visit(account_id)
12-09 12:37:04.942: E/SQLiteLog(13041): (284) automatic index on ordertab(account_id)
12-09 12:37:04.960: E/SQLiteLog(13041): (284) automatic index on area(server_id)
12-09 12:37:04.960: E/SQLiteLog(13041): (284) automatic index on account(area_id)
12-09 12:37:04.960: E/SQLiteLog(13041): (284) automatic index on staff_visit(account_id)
12-09 12:37:04.960: E/SQLiteLog(13041): (284) automatic index on ordertab(account_id)
12-09 12:37:04.978: E/SQLiteLog(13041): (284) automatic index on area(server_id)
12-09 12:37:04.978: E/SQLiteLog(13041): (284) automatic index on account(area_id)
12-09 12:37:04.978: E/SQLiteLog(13041): (284) automatic index on staff_visit(account_id)
12-09 12:37:04.978: E/SQLiteLog(13041): (284) automatic index on ordertab(account_id)
所以这是任何棒棒糖错误的错误吗?我是这么认为的,因为我在升级这个操作系统之前和之后都没有更新我的代码。
【问题讨论】:
-
BTW 自动索引很好地提高了查询性能时间
-
这很奇怪,因为我已经为搜索或连接列手动创建了索引,但仍在创建自动索引。
标签: android android-sqlite android-5.0-lollipop android-logcat