Skip to content

rows.go Scan() crashes after QueryRow() #6

@jlpettersson

Description

@jlpettersson

When I do a QueryRow() query, the Scan() panics with this error:

index out of range [-1]

This seem to be related to this line 72:

for i, col := range r.rows[r.pos-1] {

where r.pos is 0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions