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

Missing error return in Statement::doHiveTableSimCheck

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4
    • 2.4
    • sql-exe
    • None

    Description

      https://github.com/apache/trafodion/pull/1766 rewrote much of Statement::doHiveTableSimCheck (cli/Statement.cpp). In one of the error cases, an 8577 error is raised but the method still returns SUCCESS. That can cause an infinite loop in the caller, Statement::execute. This error path should contain a "return ERROR" statement.

      Attachments

        Issue Links

          Activity

            People

              dbirdsall Dave Birdsall
              dbirdsall Dave Birdsall
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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