[teiid-issues] [JBoss JIRA] (TEIID-3542) Logging does not print full queries which contain ESCAPE '\u0000' clause

Paul Richardson (JIRA) issues at jboss.org
Wed Jun 17 09:51:08 EDT 2015


Paul Richardson created TEIID-3542:
--------------------------------------

             Summary: Logging does not print full queries which contain ESCAPE '\u0000' clause
                 Key: TEIID-3542
                 URL: https://issues.jboss.org/browse/TEIID-3542
             Project: Teiid
          Issue Type: Bug
          Components: Query Engine
    Affects Versions: 8.10.1
         Environment: Possibly only happens on Linux.
            Reporter: Paul Richardson
            Assignee: Steven Hawkins
            Priority: Trivial


Queries submitted to Teiid containing the NUL character for the ESCAPE character are not properly printed to jboss logging.

Seems that the NUL character can be used within java Strings but when the String is printed to the display, it terminates at the first NUL character it reaches. This result in "... ESCAPE '\u0000' ... being printed as "... ESCAPE '".

See [here|https://gist.github.com/phantomjinx/fef25524e7e9844c4f3d] for an example of a jboss log with such a query.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the teiid-issues mailing list