I always thought that locks would only block actual operations on a
database, but in Android it seems that you can't even open a database
with an exclusive lock;

E/Database(  596): CREATE TABLE android_metadata failed
E/Database(  596): Failed to setLocale() when constructing, closing
the database
E/Database(  596): android.database.sqlite.SQLiteException: database
is locked
E/Database(  596):      at
android.database.sqlite.SQLiteDatabase.native_setLocale(Native Method)
E/Database(  596):      at
android.database.sqlite.SQLiteDatabase.setLocale(SQLiteDatabase.java:
1751)
E/Database(  596):      at
android.database.sqlite.SQLiteDatabase.<init>(SQLiteDatabase.java:
1701)
E/Database(  596):      at
android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:
739)

Is this just the way of things?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to