Ok it seems last time I've posted too many errors so I'll try to ask about this 
one. Maybe other are just consequences of this. I've finally received this 
error also on my computer, but only in release build.

- windows XP, sqlite 3.6.3, VS 2005
- sqlite3_threadsafe() -> 1
- 20 worker threads, each opens db, attaches another db, does some writes (into 
first db only), closes, thread exit, new thread start

After somer time the "ATTACH" fails with error code SQLITE_MISUSE and error 
message is that database is locked.
Why does it return MISUSE and not LOCKED or busy?

Any ideas what can be wrong? Is this bug in SQLite or compiler or am I missing 
something?

Thank you.



_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to