commit | 1d9f742e001ed8280fa93fd9ba0b1125ce6d00ae | [log] [tgz] |
---|---|---|
author | Jeff Brown <jeffbrown@google.com> | Thu Mar 15 14:32:32 2012 -0700 |
committer | Jeff Brown <jeffbrown@google.com> | Thu Mar 15 16:02:58 2012 -0700 |
tree | a6e96a60b39568bdda7ae284f1b8f013ce15a833 | |
parent | 5571ffdd9d419e3b1e050501e6f8dbfb04159b5d [diff] |
Port the SQLite locale setting code to Java. Make the database opening code more robust in the case of read-only database connections. Check whether a PRAGMA needs to be issues before doing it. Mostly it's harmless but it can grab a transaction on the database unnecessarily. Change-Id: Iab2cdc96c785e767f82966b00597e19337163f2f