Skip to content

rowData can leak *sql.Rows #7

@haaawk

Description

@haaawk

If rows.Columns() returns an error, rowData will return without closing rows. As a result an SQLite read transaction will never end and possibly block writes to the database.

https://github.com/zknill/sqledge/blob/main/pkg/pgwire/postgres.go#L317

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions