History log of /frameworks/base/core/java/android/database/sqlite/SQLiteCompiledSql.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0dbb9cee58d35d30f205dc844a82e960149fa86b 16-Apr-2010 Vasu Nori <vnori@google.com> accept close() on database objects even if the database is closed

bug:2602878
Change-Id: I3075f801ef35d72792ff3daaa1e887e53b58f5f8
/frameworks/base/core/java/android/database/sqlite/SQLiteCompiledSql.java
c8e1f23891cff31a9da2bab412631ff770a92f56 14-Apr-2010 Vasu Nori <vnori@google.com> verify database state before calling sqlite. Bug:2593970

Change-Id: Id68365abccbdca572ad13c2b51162d53993ff540
/frameworks/base/core/java/android/database/sqlite/SQLiteCompiledSql.java
0a1344efc268283a16c04d932722e7824114185a 19-Mar-2010 Vasu Nori <vnori@google.com> limit sql statement in finalizer warning to 100 chars

too long a sql statement reduces the amount of stack trace printed.

Change-Id: Id980b184850adb2bcb5e47eebe35796bc731a490
/frameworks/base/core/java/android/database/sqlite/SQLiteCompiledSql.java
3695709457c66354261502b8bf23d59604a59ce4 11-Mar-2010 Vasu Nori <vnori@google.com> debug-flag covered log messages to help people debug finalizer stuff

should help developers figure out why finalizer warnings are coming out
of their app.

Change-Id: I50a4ba96c84c6b3cf4445331e1fb55320d8783e1
/frameworks/base/core/java/android/database/sqlite/SQLiteCompiledSql.java
afe806a4a32aa035995136b169e0388ec4a915b7 09-Mar-2010 Vasu Nori <vnori@google.com> modify comments to be more accurate
/frameworks/base/core/java/android/database/sqlite/SQLiteCompiledSql.java
08b448ea39e9fabfc5212ae6f7226eba4385d189 03-Mar-2010 Vasu Nori <vnori@google.com> in finalizer warnings, use a better exception - NOT Exception()

finalizer warnings should use a more descriptive exception instead of
Exception() so it is clearer to the developers as to why this
warning is output.
/frameworks/base/core/java/android/database/sqlite/SQLiteCompiledSql.java
14b60e747cdf16b79bb755b42dd766348c4f1880 01-Mar-2010 Vasu Nori <vnori@google.com> add warning in finalizer. deprecate protected members.

finalizer shoudl not be called ever. add a warning to say that.
adeprecate a few members in SQLiteProgram.java. they should not
have had protected access level. shoudl be package.
/frameworks/base/core/java/android/database/sqlite/SQLiteCompiledSql.java
ec37e42fb260b867b19eb01606867a85ba2e5187 22-Feb-2010 Vasu Nori <vnori@google.com> fix race condition introduced by CL https://android-git.corp.google.com/g/40395
/frameworks/base/core/java/android/database/sqlite/SQLiteCompiledSql.java
e8de28415b4362824a52c180adf10dd882d12eaf 18-Feb-2010 Vasu Nori <vnori@google.com> bug fix for 2419869. also included 2 unittests.

bug fix for 2419869 is the following
1. only one object can use the prepared statement object
(SQLiteCompiledSql in SQLIteProgram)
2. if two objects are requesting to use it, then create a new prepared
statement object for exclusive use by the newcomer and let it be
be finalized by the newcomer.
3. add mInUse flag to SQLiteCompiledSql - to be set when SQLiteProgram
requests it and to be released when that SQLiteProgram is done with it
a couple more changes included are
1. unitests to simulate bug # 2419869 (and the fix's repair to it)
2. better logging in SQLiteCloseable when it prints log messages
/frameworks/base/core/java/android/database/sqlite/SQLiteCompiledSql.java
5a03f36ef845f73eb4473193dbb0f93dd12a51af 21-Oct-2009 Vasu Nori <vnori@google.com> maintain cache of statementids returned by sqlite upon compiling a sql stmnt
/frameworks/base/core/java/android/database/sqlite/SQLiteCompiledSql.java