-
Notifications
You must be signed in to change notification settings - Fork 79
Closed
Description
Example of the error:
sqlInterpolate(ANSI(), "
SELECT *
-- comment
-- consecutive comment with string literal character '
FROM mytable")Error in sqlParseVariablesImpl(sql, list(sqlQuoteSpec("\"", "\""), sqlQuoteSpec("'", : Unterminated literal
Other examples that also result in sqlInterpolate mis-parsing consecutive comments:
sqlInterpolate(ANSI(), "
SELECT *
-- comment
-- consecutive comment with string literal character \"
FROM mytable")
sqlInterpolate(ANSI(), "
SELECT *
/* comment *//* consecutive comment with string literal character '*/
FROM mytable")Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels