You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4153139
Browse filesBrowse the repository at this point in the historyBrowse files
Don't finalize in stmt_dealloc() if SQLite has no connection mutex
In multi-thread mode (the system SQLite on Apple platforms) there is no
connection mutex: sqlite3_db_mutex() returns NULL and sqlite3_mutex_try(NULL)
reports success. stmt_dealloc() then finalized the statement while another
thread could be using the connection, which is not allowed in that mode.
Leave the statement on the pending list in that case, so that it is finalized
by a thread that is using the connection.
0 commit comments