I have a view that is incorporated in another view call.
CREATE VIEW view_A AS SELECT .... FROM table_Gamma
CREATE VIEW view_B AS SELECT .... FROM view_A
In Android 5.0 it's printing out this error
E/SQLiteLog (284) automatic index on view_A(Col1)
Since you can't index views in Sqlite, it seems to be thinking view_A is a table, and that it can be indexed, when it's a view.
Note I also tried creating an index on table_Gamma, it did not help.
You can turn off auto-indexing using this Pragma call
PRAGMA automatic_index = off;
SQLite Database gives warning automatic index on <table_name>(column) After upgrading Android L
But it seems to be impractical in that it needs to be called every time SQLiteOpenHelper is used.
Is this a common practice, or is there another place to call to turn off automatic_index?