Skip to content

SQLite3 pooled connections not released #81

Description

@gburca

When using sqlite3 pooled connections and executing an update SQL, the connection is never returned back to the pool after the update completes. When using select SQL statements, everything works properly.

Both select and update emit the close event, but only select emits the end event.

It looks like ConnectionPool releases the connection only when it gets the end event. Since end is never emitted with update statements, the connection is never returned to the pool.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions