summaryrefslogtreecommitdiff
path: root/core/java/android/database
diff options
context:
space:
mode:
authorVasu Nori <vnori@google.com>2010-02-05 15:14:32 -0800
committerVasu Nori <vnori@google.com>2010-02-05 15:14:32 -0800
commitadf1c58fa91c3051697a14e3c7cc8a47e5d1dd83 (patch)
tree82207b4f05623833fc64a3d0da5c082c037af09e /core/java/android/database
parentcaa2a69278b0541b4f9e044b8ec087e6f5b33ca0 (diff)
fix a warning message that is confusing people.
warning message printed when the compiled-sql statament cache is emptied out is not making sense to people. hope this version is better.
Diffstat (limited to 'core/java/android/database')
-rw-r--r--core/java/android/database/sqlite/SQLiteDatabase.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/java/android/database/sqlite/SQLiteDatabase.java b/core/java/android/database/sqlite/SQLiteDatabase.java
index e4b0191c1446..22e2a8351f32 100644
--- a/core/java/android/database/sqlite/SQLiteDatabase.java
+++ b/core/java/android/database/sqlite/SQLiteDatabase.java
@@ -1922,8 +1922,9 @@ public class SQLiteDatabase extends SQLiteClosable {
mCacheFullWarnings = 0;
// clear the cache
mCompiledQueries.clear();
- Log.w(TAG, "compiled-sql statement cache cleared for the database " +
- getPath());
+ Log.w(TAG, "Compiled-sql statement cache for database: " +
+ getPath() + " hit MAX size-limit too many times. " +
+ "Removing all compiled-sql statements from the cache.");
} else {
// clear just a single entry from cache
Set<String> keySet = mCompiledQueries.keySet();