David Wayne Birdsall created TRAFODION-3139:
-----------------------------------------------

             Summary: Remove more obsolete cruft from parser and other modules
                 Key: TRAFODION-3139
                 URL: https://issues.apache.org/jira/browse/TRAFODION-3139
             Project: Apache Trafodion
          Issue Type: Improvement
          Components: sql-cmp
    Affects Versions: 2.3
            Reporter: David Wayne Birdsall
            Assignee: David Wayne Birdsall


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to