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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Trivial Trivial
    • 8.12, 8.7.8.6_2
    • 8.10.1
    • Query Engine
    • None

      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.

              rhn-engineering-shawkins Steven Hawkins
              parichar@redhat.com Paul Richardson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: