Am 09.10.2008 um 18:21 schrieb [EMAIL PROTECTED]: > > 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?
Do you happen to have a transaction open when trying to attach the database? IIRC, this was a reason I got a SQLITE_MISUSE once when trying to attach a database.... </jum> _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

