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

Steven Hawkins (JIRA) issues at jboss.org
Wed Jun 17 10:03:02 EDT 2015


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

Steven Hawkins resolved TEIID-3542.
-----------------------------------
    Fix Version/s:     (was: 8.7.1.6_2)
       Resolution: Rejected


This should only be an issue with the editor used to look at the file - it will still contain all of the data.  Also if we want to pursue a resolution, it should go against the relevant logging framework as this would be a general consideration.

> 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