Closed GoogleCodeExporter closed 9 years ago
Here's the error
com.almworks.sqlite4java.SQLiteException: [14] DB[3] step() [SELECT * FROM
main.media WHERE main.media.name='1024k_0_0.in' UNION SELECT * FROM
attached_1.media WHERE attached_1.media.name='1024k_0_1.in']DB[3][C] [unable to
open database file]
at
com.almworks.sqlite4java.SQLiteConnection.throwResult(SQLiteConnection.java:1248
)
at
com.almworks.sqlite4java.SQLiteConnection$BaseController.throwResult(SQLiteConne
ction.java:1501)
at
com.almworks.sqlite4java.SQLiteStatement.stepResult(SQLiteStatement.java:1231)
at com.almworks.sqlite4java.SQLiteStatement.step(SQLiteStatement.java:302)
.......................................
Original comment by robert.c...@gmail.com
on 23 Feb 2012 at 1:04
Ok I suspect this needs rejected/closed. The problem seems to be outside of
sqlite4java's territory. I apologize for that!
Original comment by robert.c...@gmail.com
on 23 Feb 2012 at 10:51
Robert, no worries. Thanks for the update.
Since SQLite opens database file every time a transaction starts, it may fail
if the file is locked somehow. You can reduce the risk by combining several
selects into one transaction with BEGIN statement.
Igor
Original comment by ser...@gmail.com
on 24 Feb 2012 at 8:54
Original issue reported on code.google.com by
robert.c...@gmail.com
on 23 Feb 2012 at 12:46