Uploaded image for project: 'Apache Trafodion (Retired)'
  1. Apache Trafodion (Retired)
  2. TRAFODION-2678

privileges regression tests privs1/TEST040-44 output non-printable characters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2.0
    • 2.2.0
    • sql-security
    • None

    Description

      While updating an expected file for privs2/TEST144 I found that git treats these files as binary files. It turns out that a UDF that's used to display privilege information puts a NUL caracter into the output. This also causes the text to be truncated before we compare it (maybe in logsort or in the regression filter).

      The fix is simple: Don't put the terminating NUL into the output value of the UDF.

      Attachments

        Issue Links

          Activity

            People

              hzeller Hans Zeller
              hzeller Hans Zeller
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: