ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ozerov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-3738) ODBC: Escape functions: Ensure that escape sequence token is parsed correctly irrespective of whitespaces.
Date Wed, 24 Aug 2016 09:59:20 GMT
Vladimir Ozerov created IGNITE-3738:
---------------------------------------

             Summary: ODBC: Escape functions: Ensure that escape sequence token is parsed
correctly irrespective of whitespaces.
                 Key: IGNITE-3738
                 URL: https://issues.apache.org/jira/browse/IGNITE-3738
             Project: Ignite
          Issue Type: Task
          Components: odbc
    Affects Versions: 1.7
            Reporter: Vladimir Ozerov
            Assignee: Andrew Mashenkov
             Fix For: 1.8


The following escape sequences must be supported and parsed correctly:
1) {fn X}
2) { fn X}
3) {        fn  X}
4) { \n X}

Etc. That is, irrespective of whitespaces, everything must be parsed correctly. I propose
to rely on {{Character.isWhitespace}}, not on regexp. That is, once { is found, we should
simply skip all following whitespaces, then get the token, then possibly skip more whitespaces.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message