Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-3542

Logging does not print full queries which contain ESCAPE '\u0000' clause

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Trivial
    • Resolution: Done
    • Affects Version/s: 8.10.1
    • Fix Version/s: 8.12, 8.7.8.6_2
    • Component/s: Query Engine
    • Labels:
      None
    • Environment:

      Possibly only happens on Linux.

      Description

      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 for an example of a jboss log with such a query.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                shawkins Steven Hawkins
                Reporter:
                phantomjinx Paul Richardson
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: