Am 26.07.2006 um 14:43 schrieb Rob Richardson:

Greetings!



I am starting two threads in quick succession that read the same table.
Each thread calls sqlite3_open(), so they are using separate database
pointers.  The first thread asks for records recorded in the last 24
hours. The second thread asks for records from the same table recorded in the previous 24 hours. The second thread is probably started only a few milliseconds after the first one. I am getting an access violation inside sqlite3.dll when the second thread calls sqlite3_prepare(). Am I
trying to do something I shouldn't?

Are you sure you built sqlite with THREAD_SAFE macro defined?

</jum>

Reply via email to