Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit adf1c58f authored by Vasu Nori's avatar Vasu Nori
Browse files

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.
parent caa2a692
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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();