JNI sqlite

This commit is contained in:
M66B
2023-12-12 14:22:50 +01:00
parent 4e822c6fe2
commit 9b862c8097
4 changed files with 37 additions and 8 deletions

View File

@@ -240,7 +240,7 @@ public class Fts5DbHelper extends SQLiteOpenHelper {
" args=" + TextUtils.join(", ", args) +
" query=" + criteria.query);
List<Long> result = new ArrayList<>();
try (Cursor cursor = db.query( // TODO CASA
try (Cursor cursor = DB.jni_safe_sqlite_query(db,
"message", new String[]{"rowid"},
select,
args.toArray(new String[0]),