On Saturday, December 30, 2006 [EMAIL PROTECTED] wrote: > Isn't there a list of possible causes for SQLITE_MISUSE somewhere. > I seem to remember writing such a list one. Does anybody know where > I put it?
This is a forwarded message From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> To: sqlite-users@sqlite.org Cc: Date: Tuesday, October 31, 2006 Subject: [sqlite] What is the proper use of threads? -8<------------- Original message text ----------------- =?ISO-8859-2?Q?Zimmer_Andr=E1s?= <[EMAIL PROTECTED]> wrote: > > However, at random times I keep getting "library routine called out of > sequence" errors (in the feeder). This is the SQLITE_MISUSE error. You can grep for SQLITE_MISUSE in the source code to find all the cases where this error can be generated. SQLITE_MISUSE gets generated for things like this: * Trying to use the same SQLite database connection from two or more threads at the same time. * Trying to use an SQLite database connection from within a Linux signal handler. * Calling sqlite3_close() on a database connection that has already been closed. * Calling sqlite3_step() on a prepared statement that has already been finalized. -- D. Richard Hipp <[EMAIL PROTECTED]> ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] ----------------------------------------------------------------------------- -8<--------- End of Original message text -------------- -- Doug Currie Londonderry, NH, USA ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------