You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Hans Zeller (JIRA)" <ji...@apache.org> on 2017/07/10 20:38:00 UTC

[jira] [Resolved] (TRAFODION-2678) privileges regression tests privs1/TEST040-44 output non-printable characters

     [ https://issues.apache.org/jira/browse/TRAFODION-2678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hans Zeller resolved TRAFODION-2678.
------------------------------------
    Resolution: Fixed

> privileges regression tests privs1/TEST040-44 output non-printable characters
> -----------------------------------------------------------------------------
>
>                 Key: TRAFODION-2678
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2678
>             Project: Apache Trafodion
>          Issue Type: Bug
>          Components: sql-security
>    Affects Versions: 2.2-incubating
>            Reporter: Hans Zeller
>            Assignee: Hans Zeller
>            Priority: Minor
>             Fix For: 2.2-incubating
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)