Skip to content

Commit 81e0f1f

Browse files
Catch sqlite exception
1 parent 6de1b40 commit 81e0f1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android-database-sqlcipher/src/main/java/net/sqlcipher/database/SQLiteDatabase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1866,7 +1866,7 @@ public SQLiteQueryStats getQueryStats(String sql, Object[] args){
18661866
largestIndividualPayload = cursor.getLong(0);
18671867
cursor.close();
18681868
execSQL("DROP TABLE tempstat;");
1869-
} catch(Exception ex) {
1869+
} catch(SQLiteException ex) {
18701870
execSQL("DROP TABLE IF EXISTS tempstat;");
18711871
throw ex;
18721872
}

0 commit comments

Comments
 (0)