You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2016/08/24 09:59:20 UTC

[jira] [Created] (IGNITE-3738) ODBC: Escape functions: Ensure that escape sequence token is parsed correctly irrespective of whitespaces.

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)