Skip to content

Commit

Permalink
Change return type on executeUpdateDelete
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
developernotes committed Jul 8, 2015
1 parent 6336dfb commit 20cbc60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net/sqlcipher/database/SQLiteStatement.java
Expand Up @@ -90,7 +90,7 @@ public long executeInsert() {
}
}

public long executeUpdateDelete() {
public int executeUpdateDelete() {
if (!mDatabase.isOpen()) {
throw new IllegalStateException("database " + mDatabase.getPath() + " already closed");
}
Expand Down

0 comments on commit 20cbc60

Please sign in to comment.