Skip to content

Commit 48a4789

Browse files
author
Jeff Brown
committed
Remove custom SQLITE_UNCLOSED error code.
This error code was introduced at some point to help track when a database could not be closed because a statement was not finalized. Now that the DB wrappers have been rewritten, it is technically no longer poossible for this to happen, so we can remove this. Change-Id: Ibbd55debbf390af436d6533aebff9726b1ff29e7
1 parent 2a293b6 commit 48a4789

File tree

2 files changed

+0
-34
lines changed

2 files changed

+0
-34
lines changed

core/java/android/database/sqlite/SQLiteUnfinalizedObjectsException.java

Lines changed: 0 additions & 31 deletions
This file was deleted.

core/jni/android_database_SQLiteCommon.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,6 @@ void throw_sqlite3_exception(JNIEnv* env, int errcode,
109109
case SQLITE_MISMATCH:
110110
exceptionClass = "android/database/sqlite/SQLiteDatatypeMismatchException";
111111
break;
112-
case SQLITE_UNCLOSED:
113-
exceptionClass = "android/database/sqlite/SQLiteUnfinalizedObjectsException";
114-
break;
115112
default:
116113
exceptionClass = "android/database/sqlite/SQLiteException";
117114
break;

0 commit comments

Comments
 (0)