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

Johnathon Lee (JIRA) issues at jboss.org
Fri Jul 15 17:13:00 EDT 2016


     [ https://issues.jboss.org/browse/TEIID-3542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Johnathon Lee closed TEIID-3542.
--------------------------------
    Resolution: Done


> 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
>             Fix For: 8.7.8.6_2, 8.12
>
>
> 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.4.11#64026)


More information about the teiid-issues mailing list