Closed cangbing2003 closed 3 weeks ago
Can you give a demo project to reproduce this problem?
Can you give a demo project to reproduce this problem? if (sqlInfo.getBindArgs() != null) { database.execSQL(sqlInfo.getSql(), sqlInfo.getBindArgsAsArray()); } else { database.execSQL(sqlInfo.getSql()); }
I use database like this.
result = SQLiteDatabase.openDatabase(dbFile.getAbsolutePath(), config.getDbKey().getBytes(), null);
result.getInnerDB().enableAutoBackup(true);
result.getInnerDB().setAutoCheckpointEnable(true);
result.getInnerDB().setConfig("opimDbConfig", new Database.Config() {
@Override
public void onInvocation(@NonNull Handle handle) throws WCDBException {
StatementPragma pragma = new StatementPragma();
pragma.pragma(Pragma.journalMode).toValue("wal");
pragma.pragma(Pragma.threads).toValue(8);
handle.execute(pragma);
}
});
I create db like this
I need a complete project.
The language of WCDB
The version of WCDB
The platform of WCDB
The installation of WCDB
What's the issue?