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

lob-related functions causes server aborted when PCode is off

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • any
    • any
    • -exe
    • 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

              Unassigned Unassigned
              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