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

Remove more obsolete cruft from parser and other modules

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.3
    • None
    • sql-cmp
    • None

    Description

      In Jira TRAFODION-3135, I removed some obsolete references to a predecessor product from parser/ParKeyWords.cpp and common/ComResWords.cpp.

      There are additional references to that product in many other modules. Much obsolete code could be removed, simplifying maintenance of the product.

      Examples include:

      In parser/sqlparser.y: Productions MP_nonreserved_word and MP_nonreserved_func_word could be removed, along with anything that refers to a "guardian" location or to "sql_mp". (Note: When removing the MP_nonreserved_* productions, take care that the keywords OLD and NEW remain non-reserved in most contexts. Yes, I tried this with the earlier JIRA.) Also, the CREATE CATALOG and related commands are presently stubbed; their productions sometimes make reference to these "guardian" concepts; perhaps these can be stubbed even further.

      The common/ComMPLoc.h and .cpp modules refer to a NonStop Kernel file system location. These can be removed, along with all code referencing such objects. There are a handful of such places sprinkled around the compiler.

      A general search for "SQL/MP" may reveal more such opportunities.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: