8000 remove unused executeUpdateDeleteRaw method from SQLiteStatement · sqlcipher/sqlcipher-android@99c48d5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 99c48d5

Browse files
committed
remove unused executeUpdateDeleteRaw method from SQLiteStatement
1 parent a492040 commit 99c48d5

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

sqlcipher/src/main/java/net/zetetic/database/sqlcipher/SQLiteStatement.java

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -97,27 +97,6 @@ public int executeUpdateDelete() {
9797
}
9898
}
9999

100-
/**
101-
* Execute this SQL statement, if the the number of rows affected by execution of this SQL
102-
* statement is of any importance to the caller - for example, UPDATE / DELETE SQL statements.
103-
* No transaction state checking is performed.
104-
* @return the number of rows affected by this SQL statement execution.
105-
* @throws android.database.SQLException If the SQL string is invalid for
106-
* some reason
107-
*/
108-
public int executeUpdateDeleteRaw() {
109-
acquireReference();
110-
try {
111-
return getSession().executeForChangedRowCountRaw(
112-
getSql(), getBindArgs(), getConnectionFlags(), null);
113-
} catch (SQLiteDatabaseCorruptException ex) {
114-
onCorruption();
115-
throw ex;
116-
} finally {
117-
releaseReference();
118-
}
119-
}
120-
121100
/**
122101
* Execute this SQL statement and return the ID of the row inserted due to this call.
123102
* The SQL statement should be an INSERT for this to be a useful call.

0 commit comments

Comments
 (0)
0