On May 15, 2006, at 6:54 AM, Mark Lubratt wrote:

Well, to answer my own question (and for posterity):

After further digging it would appear that the REALSQLDatabase implementation is compiled without THREADSAFE set. Therefore, all calls to the library must be from the same thread that called sqlite_open() (or the object's constructor I would presume). So, I moved the scope of my REALSQLDatabase object from the project level and made it internal to the thread and everything works now.

Cheers!
Mark

That's a "known issue" with SQLite and has been this way for a long time (ie/ even with the SQLite Plugin)

It's always been the case that you should call "open" in each thread that wants to connect to the database
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to