You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/01/28 03:52:00 UTC

[jira] [Work logged] (TRAFODION-3264) lob-related functions causes server aborted when PCode is off

     [ https://issues.apache.org/jira/browse/TRAFODION-3264?focusedWorklogId=190732&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-190732 ]

ASF GitHub Bot logged work on TRAFODION-3264:
---------------------------------------------

                Author: ASF GitHub Bot
            Created on: 28/Jan/19 03:51
            Start Date: 28/Jan/19 03:51
    Worklog Time Spent: 10m 
      Work Description: wenjun-zhu commented on pull request #1782: [TRAFODION-3264] eliminate unneeded function call in Lob-related functions
URL: https://github.com/apache/trafodion/pull/1782
 
 
   in file core/sql/executor/ExExeUtilLoad.cpp, lines like:
   ```
   	    ex_expr::exp_return_type exprRetCode =	
   	      lobTdb().inputExpr_->eval(NULL, 	
   					workAtp_);
   ```
   call function eval(), with first parameter NULL.
   
   Then code in ex_expr::evalClauses() accesses NULL pointer, so the server aborts.
   
   As @sandhyasun said, this invocation is unneeded, so remove these code.
   
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 190732)
            Time Spent: 10m
    Remaining Estimate: 0h

> lob-related functions causes server aborted when PCode is off
> -------------------------------------------------------------
>
>                 Key: TRAFODION-3264
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-3264
>             Project: Apache Trafodion
>          Issue Type: Bug
>          Components: -exe
>    Affects Versions: any
>            Reporter: Wenjun Zhu
>            Priority: Major
>             Fix For: any
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> In file core/sql/executor/ExExeUtilLoad.cpp, there are lines like:
> {code:java}
>     ex_expr::exp_return_type exprRetCode =
>        lobTdb().inputExpr_->eval(NULL, 
>        workAtp_);{code}
> this calls eval() function with 1st parametere NULL.
> When PCode is off, it would access null pointer in function ex_expr::evalClauses(), and then abort.
> As sandhyasun said, this invocation is unneeded, so eliminate it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)