Jeff Brown 559d0645ac Refactor SQLiteOpenHelper.
Combine the code for opening readable and writable databases.
This improves the handling of the case where a database cannot
be opened because it cannot be upgraded.  Previously we would
open the database twice: first read-write, then read-only, each
time failing due to the version check.  Now only open it once.

Removed the goofy locking logic related to upgrading a read-only
database to read-write.  We now do it in place by reopening the
necessary connections in the connection pool.

Change-Id: I6deca3fb90e43f4ccb944d4715307fd6fc3e1383
2012-02-29 17:02:04 -08:00
..
2012-01-20 14:43:38 -08:00
2012-02-15 15:06:01 -08:00
2012-02-27 12:09:13 -08:00
2012-02-23 16:39:15 -08:00
2012-02-29 17:02:04 -08:00
2012-02-16 14:24:10 -08:00
2012-01-27 11:03:05 -08:00
2012-02-17 22:19:45 -08:00
2012-02-24 09:40:27 -08:00
2012-02-13 14:17:06 -08:00
2012-02-28 11:40:00 -08:00