summaryrefslogtreecommitdiffstats
path: root/core/jni/android_database_SQLiteCommon.cpp
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2012-01-19 16:39:03 -0800
committerJeff Brown <jeffbrown@google.com>2012-01-19 16:39:03 -0800
commit48a4789686412390f9efd3bad0bfcaa3efbf9bfc (patch)
treeaa0d8ceb607941d9362390adce8156b7c03b6baa /core/jni/android_database_SQLiteCommon.cpp
parent2a293b61cb0efbf24994d74ed980f58b820bb35a (diff)
downloadframeworks_base-48a4789686412390f9efd3bad0bfcaa3efbf9bfc.zip
frameworks_base-48a4789686412390f9efd3bad0bfcaa3efbf9bfc.tar.gz
frameworks_base-48a4789686412390f9efd3bad0bfcaa3efbf9bfc.tar.bz2
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
Diffstat (limited to 'core/jni/android_database_SQLiteCommon.cpp')
-rw-r--r--core/jni/android_database_SQLiteCommon.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/jni/android_database_SQLiteCommon.cpp b/core/jni/android_database_SQLiteCommon.cpp
index d5fdb15..a94b9d2 100644
--- a/core/jni/android_database_SQLiteCommon.cpp
+++ b/core/jni/android_database_SQLiteCommon.cpp
@@ -109,9 +109,6 @@ void throw_sqlite3_exception(JNIEnv* env, int errcode,
case SQLITE_MISMATCH:
exceptionClass = "android/database/sqlite/SQLiteDatatypeMismatchException";
break;
- case SQLITE_UNCLOSED:
- exceptionClass = "android/database/sqlite/SQLiteUnfinalizedObjectsException";
- break;
default:
exceptionClass = "android/database/sqlite/SQLiteException";
break;