SQL comments in SQL Scripts containing open quotes or semi-colon delimiter, break multi-statement parsing. #1

Closed
escheie opened this Issue Jul 30, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@escheie
Member

escheie commented Jul 30, 2015

Placing a semi-colon or an open quote in a comment in a SQL script, breaks multi-statement parsing logic.

Examples:

-- This is a comment; with a semi-colon
teradata.api.DatabaseError: (3706, "Syntax error: expected something between the word 'a' and the word 'semi'.")

/*This comment's open quote should not break multi-statement parsing */
teradata.api.DatabaseError: (3760, 'String not terminated before end of text.')

@escheie escheie self-assigned this Jul 30, 2015

@escheie escheie modified the milestones: 15.10.00l.02, 15.10.00.02 Jul 30, 2015

@escheie escheie closed this in 4fdaf67 Jul 30, 2015

@escheie escheie added the bug label Jul 31, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment