|
|
|
@ -96,9 +96,9 @@ public abstract class DB extends RoomDatabase {
|
|
|
|
|
if (sInstance == null) {
|
|
|
|
|
sInstance = migrate(context, getBuilder(context));
|
|
|
|
|
|
|
|
|
|
Log.i("sqlite version=" + exec(sInstance, "SELECT sqlite_version() AS sqlite_version"));
|
|
|
|
|
Log.i("sqlite sync=" + exec(sInstance, "PRAGMA synchronous"));
|
|
|
|
|
Log.i("sqlite journal=" + exec(sInstance, "PRAGMA journal_mode"));
|
|
|
|
|
Log.i("SQLite version=" + exec(sInstance, "SELECT sqlite_version() AS sqlite_version"));
|
|
|
|
|
Log.i("SQLite sync=" + exec(sInstance, "PRAGMA synchronous"));
|
|
|
|
|
Log.i("SQLite journal=" + exec(sInstance, "PRAGMA journal_mode"));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return sInstance;
|
|
|
|
|