Uploaded image for project: 'Apache Trafodion'
  1. Apache Trafodion
  2. TRAFODION-3264

lob-related functions causes server aborted when PCode is off

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: any
    • Fix Version/s: any
    • Component/s: -exe
    • Labels:
      None

      Description

      In file core/sql/executor/ExExeUtilLoad.cpp, there are lines like:

          ex_expr::exp_return_type exprRetCode =
             lobTdb().inputExpr_->eval(NULL, 
             workAtp_);

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Wenjun Zhu Wenjun Zhu
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h