Skip to content

Semicolons in commented-out code messes with outputs #35

@dartharva

Description

@dartharva

Describe the bug
If semicolons are present in any preceding comment (both inline and block), the query returns empty results or throws random syntax errors.

To Reproduce
Steps to reproduce the behavior:

  1. Write any simple query
  2. Write a comment line ending with a semicolon before the query
  3. Select block and Run query on active connection
  4. See error
  5. Remove semicolons from the preceding comments
  6. Query runs perfectly as intended

Expected behavior
Comments and comment blocks should not be interfering with running the intended query in any way

Desktop (please complete the following information):

  • OS: Windows 11
  • Version 0.7.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions