Skip to content

SQL Script execution fails if script ends with a comment #63

@jkoppelm

Description

@jkoppelm

If you try to execute a sql script that ends with a comment, the confirm_destructive_query method (prompt_utils.py) calls queries_start_with, and query_starts_with throws an exception "list index out of range". It should just quietly continue.

When I add a trivial query to the end of the script, I have confirmed it completes correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions