Skip to content

DBAL-750: [GH-483] Fix parsing SQL Server bracket delimiters in SQL statements #1978

Closed
doctrinebot opened this Issue Dec 30, 2013 · 2 comments

2 participants

@doctrinebot

Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of deeky666:

Url: #483

Message:

Currently SQLParserUtils does not take SQL Server's bracket identifier delimiters into account when parsing parameter placeholders. Colons and question marks should not be considered as parameter placeholder in explicitly quoted identifiers (as is the case already for single quoted, double quoted and backtick quoted identifiers).

Example

SELECT [column?], [ns::column], [column], foo, ? FROM bar

The SQLParserUtil should detect exactly one placeholder here.

@doctrinebot

Comment created by @doctrinebot:

A related Github Pull-Request [GH-483] was closed:
#483

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added the Bug label Dec 7, 2015
@beberlei beberlei was assigned by doctrinebot Dec 7, 2015
@doctrinebot doctrinebot added this to the 2.5 milestone Dec 7, 2015
@doctrinebot doctrinebot closed this Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.