On Thu, Sep 4, 2014 at 10:14 AM, Neo Anderson <[email protected]> wrote:

>
> 2. Fuctions that do not use sqlite3* and sqite3_stmt* such as
> sqlite3_mprintf do not need mutex protection.
>

No.  sqlite3_mprintf() does require mutex protection.  If you disable
mutexes using SQLITE_THREADSAFE=0 and then try to use sqlite3_mprintf()
from multiple threads, you will encounter problems.

-- 
D. Richard Hipp
[email protected]
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to