From adf1c58fa91c3051697a14e3c7cc8a47e5d1dd83 Mon Sep 17 00:00:00 2001 From: Vasu Nori Date: Fri, 5 Feb 2010 15:14:32 -0800 Subject: [PATCH] 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. --- core/java/android/database/sqlite/SQLiteDatabase.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/java/android/database/sqlite/SQLiteDatabase.java b/core/java/android/database/sqlite/SQLiteDatabase.java index e4b0191c14467..22e2a8351f327 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 keySet = mCompiledQueries.keySet();