Marcel Strittmatter
2005-03-16 17:05:51 UTC
Hi all
When I try to insert data into a table, sqlite3 responses with
SQLITE_ERROR and the error message: "database table is locked". I
searched already for unfinalized statements but couln't find any. The
insert statement is not executed while a query is active...
The problem exists only on Windows (local storage), on Linux everything
(except known nfs problems) works well (same code).
My question: Is there a "easy" way to test if a table is locked? Are
there other possibilities to help debug such a problem (I already tried
sqlit3_trace, but this doesn't help much because I don't see if a query
is finalized or not).
Marcel
When I try to insert data into a table, sqlite3 responses with
SQLITE_ERROR and the error message: "database table is locked". I
searched already for unfinalized statements but couln't find any. The
insert statement is not executed while a query is active...
The problem exists only on Windows (local storage), on Linux everything
(except known nfs problems) works well (same code).
My question: Is there a "easy" way to test if a table is locked? Are
there other possibilities to help debug such a problem (I already tried
sqlit3_trace, but this doesn't help much because I don't see if a query
is finalized or not).
Marcel