Revert "Added option to enable sqlite unicode61 tokenizer"

This reverts commit 3811afe451.
This commit is contained in:
M66B
2022-09-29 13:07:02 +02:00
parent a904f0b0ea
commit 03d80e149b
5 changed files with 7 additions and 58 deletions

View File

@@ -50,12 +50,8 @@ public class Fts5DbHelper extends SQLiteOpenHelper {
}
static SQLiteDatabase getInstance(Context context) {
boolean exists = context.getDatabasePath(DATABASE_NAME).exists();
if (instance == null || !exists) {
if (!exists)
DB.getInstance(context).message().resetFts();
if (instance == null)
instance = new Fts5DbHelper(context);
}
return instance.getWritableDatabase();
}