#102 SQL command - multiple commands (2)

closed-fixed
Jakub Vrána
PostgreSQL (25)
5
2010-11-26
2010-11-25
helix84
No

If the last command of multiple commands in "SQL command" is a comment, "Error in query:" will be displayed for the (nonexistent) command after the comment.

Discussion

  • helix84
    helix84
    2010-11-25

    • labels: --> 1212738
    • assigned_to: nobody --> jakubvrana
     
  • Jakub Vrána
    Jakub Vrána
    2010-11-26

    • status: open --> pending-works-for-me
     
  • Jakub Vrána
    Jakub Vrána
    2010-11-26

    I can't reproduce this error. Can you please attach the exact string passed to SQL textarea?

     
  • helix84
    helix84
    2010-11-26

    Forgot to mention this happens in Postgres, not MySQL.

    SELECT * FROM metadatavalue LIMIT 1;
    -- asdf

     
  • helix84
    helix84
    2010-11-26

    • status: pending-works-for-me --> open
     
  • Jakub Vrána
    Jakub Vrána
    2010-11-26

    Thank you for the report, I've fixed it in Git.

     
  • Jakub Vrána
    Jakub Vrána
    2010-11-26

    • status: open --> closed-fixed
     
  • Jakub Vrána
    Jakub Vrána
    2010-11-26

    • labels: 1212738 --> PostgreSQL