Problems with SQLite in 1.6

1 view
Skip to first unread message

Al Sutton

unread,
Nov 14, 2009, 3:27:13 AM11/14/09
to android-...@googlegroups.com
I'm throwing this out onto the list because I'd like to hear other peoples opinions.

Why does getReadableDatabase in android.database.SQLiteOpenHelper open a writable database first?

We're getting some lock contention issues in our app, and I'm starting to wonder whether it's because all the places we've tried to use getReadableDatabase to avoid locking the file are actually returning a writable database which can lock the database on access.

Al.
--

* Looking for Android Apps? - Try http://andappstore.com/ *

======
Funky Android Limited is registered in England & Wales with the company number 6741909.

The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries.

Reply all
Reply to author
Forward
0 new messages