summaryrefslogtreecommitdiffstats
path: root/core/jni/android_database_SQLiteGlobal.cpp
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2014-02-06 20:17:48 -0800
committerColin Cross <ccross@android.com>2014-02-09 21:54:01 -0800
commitd06969518b12afb27a487ae66f8d73a4d3116587 (patch)
tree5db4a4a4b10b6ab7ff9ae557ba0067e7af2173d6 /core/jni/android_database_SQLiteGlobal.cpp
parentff27e6bc44097485abfde24f396399e5eec9ff6d (diff)
downloadframeworks_base-d06969518b12afb27a487ae66f8d73a4d3116587.zip
frameworks_base-d06969518b12afb27a487ae66f8d73a4d3116587.tar.gz
frameworks_base-d06969518b12afb27a487ae66f8d73a4d3116587.tar.bz2
frameworks/base: fix errors inside ALOGV
Fix errors exposed by adding compile-time checking to disabled ALOGVs. Change-Id: I9beeb5d5df498c63d6bed49734ee80a8e0afcefc
Diffstat (limited to 'core/jni/android_database_SQLiteGlobal.cpp')
-rw-r--r--core/jni/android_database_SQLiteGlobal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/jni/android_database_SQLiteGlobal.cpp b/core/jni/android_database_SQLiteGlobal.cpp
index acc2276..89d64fa 100644
--- a/core/jni/android_database_SQLiteGlobal.cpp
+++ b/core/jni/android_database_SQLiteGlobal.cpp
@@ -39,7 +39,7 @@ static void sqliteLogCallback(void* data, int iErrCode, const char* zMsg) {
bool verboseLog = !!data;
if (iErrCode == 0 || iErrCode == SQLITE_CONSTRAINT || iErrCode == SQLITE_SCHEMA) {
if (verboseLog) {
- ALOGV(LOG_VERBOSE, SQLITE_LOG_TAG, "(%d) %s\n", iErrCode, zMsg);
+ ALOG(LOG_VERBOSE, SQLITE_LOG_TAG, "(%d) %s\n", iErrCode, zMsg);
}
} else {
ALOG(LOG_ERROR, SQLITE_LOG_TAG, "(%d) %s\n", iErrCode, zMsg);