Skip to content

Commit 20cbc60

Browse files
Change return type on executeUpdateDelete
This was a historical issue from the original Google SQLite API. This has been corrected to match the type returned from the call to sqlite3_changes which represents the result.
1 parent 6336dfb commit 20cbc60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net/sqlcipher/database/SQLiteStatement.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public long executeInsert() {
9090
}
9191
}
9292

93-
public long executeUpdateDelete() {
93+
public int executeUpdateDelete() {
9494
if (!mDatabase.isOpen()) {
9595
throw new IllegalStateException("database " + mDatabase.getPath() + " already closed");
9696
}

0 commit comments

Comments
 (0)