tursodatabase/turso
View on GitHubCached prepare statements don't work with concurrency
Open
#4,597 opened on Jan 11, 2026
bughelp wanted
Repository metrics
- Stars
- (19,103 stars)
- PR merge metrics
- (PR metrics pending)
Description
A cached prepared statement created with Connection::prepare_cached() returns BusySnapshot error if another concurrent connection modifies the database, essentially making it impossible to reuse a connection in a connect pool.