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

Add missing error check in NATableDB::get

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3
    • 2.3
    • sql-cmp
    • None

    Description

      In NATableDB::get, there is a call to the NATable constructor that lacks an error check afterward. The NATable constructor calls several methods that have error returns, leaving the NATable object having sometimes incomplete state. In particular, if createNAFileSets fails, the clustering information will be missing. This will cause NATable::updateExtTableAttrs to abend when it then dereferences a null pointer.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: