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.
This commit is contained in:
Vasu Nori
2010-02-05 15:14:32 -08:00
parent caa2a69278
commit adf1c58fa9

View File

@@ -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();