ASF GitHub Bot commented on TRAFODION-2967:

Github user asfgit closed the pull request at:


> UPDATE STATISTICS sometimes cores in CommonLogger::buildMsgBuffer
> -----------------------------------------------------------------
>                 Key: TRAFODION-2967
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2967
>             Project: Apache Trafodion
>          Issue Type: Bug
>          Components: sql-cmp
>    Affects Versions: 2.3
>            Reporter: David Wayne Birdsall
>            Assignee: David Wayne Birdsall
>            Priority: Major
> Jira TRAFODION-2927 refactored the UPDATE STATISTICS logging logic to use the 
> CommonLogger class. Unfortunately, this introduced a problem that sometimes 
> causes cores in CommonLogger::buildMsgBuffer. The UPDATE STATISTICS code 
> passes raw data via a "template" parameter to the logging layers. The logging 
> layers interpret this template like a printf template. So, if the data 
> happens to have a substring such as %d or %n in it, the logger code expects 
> an additional argument to supply a substitution value for it. But none is 
> supplied so we abend.
> A workaround is to turn automatic logging off, e.g. by setting CQD 

This message was sent by Atlassian JIRA

Reply via email to