SQLite Forum

sqlite3_threadsafe() return value
Login
How about simply stating fact:

sqlite3_threadsafe() returns the compile-time threadsafe setting as reflected by the SQLITE_THREADSAFE compile-time define.  It does not return the current threadsafe operating mode for either the connection or the library, which may have been overriden at runtime (see ...).