You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by su...@apache.org on 2017/03/15 16:01:44 UTC

[1/2] incubator-trafodion git commit: [TRAFODION-2474] Add opt_error.h to files read by analyzeMessageGuide.py

Repository: incubator-trafodion
Updated Branches:
  refs/heads/master 452b7e7ff -> 6155ff1ba


[TRAFODION-2474] Add opt_error.h to files read by analyzeMessageGuide.py


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/7e9a6ee5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/7e9a6ee5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/7e9a6ee5

Branch: refs/heads/master
Commit: 7e9a6ee56dd91d138f2440e12dce4fab003207f9
Parents: 2ba737c
Author: Dave Birdsall <db...@apache.org>
Authored: Tue Mar 14 23:21:08 2017 +0000
Committer: Dave Birdsall <db...@apache.org>
Committed: Tue Mar 14 23:21:08 2017 +0000

----------------------------------------------------------------------
 core/sqf/sql/scripts/analyzeMessageGuide.py | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7e9a6ee5/core/sqf/sql/scripts/analyzeMessageGuide.py
----------------------------------------------------------------------
diff --git a/core/sqf/sql/scripts/analyzeMessageGuide.py b/core/sqf/sql/scripts/analyzeMessageGuide.py
index 4f9940b..56a6151 100644
--- a/core/sqf/sql/scripts/analyzeMessageGuide.py
+++ b/core/sqf/sql/scripts/analyzeMessageGuide.py
@@ -318,6 +318,8 @@ class MessagesTable:
                             if int(token) > 0:  # ignore enums for 0
                                 self.mergeEntry(token,values)
                             state = 6
+                        elif token == '-':
+                            state = 5  # skip unary minus sign before digits
                         else:
                             state = 3
                     elif state == 6:
@@ -618,6 +620,7 @@ print
 print datetime.datetime.ctime(datetime.datetime.now()) + ": reading enum files"
 enumFileList = ( [ ['ustat/hs_const.h','USTAT_ERROR_CODES'],
     ['sqlcomp/CmpDDLCatErrorCodes.h','CatErrorCode'],
+    ['optimizer/opt_error.h','OptimizerSQLErrorCode'],
     ['exp/ExpErrorEnums.h','ExeErrorCode'] ] )
 for entry in enumFileList:
     fileName = mySQroot + '/../sql/' + entry[0]


[2/2] incubator-trafodion git commit: Merge [TRAFODION-2474] PR-1011 Add opt_error.h to files read by analyzeMessageGuide.py

Posted by su...@apache.org.
Merge [TRAFODION-2474] PR-1011 Add opt_error.h to files read by analyzeMessageGuide.py


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/6155ff1b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/6155ff1b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/6155ff1b

Branch: refs/heads/master
Commit: 6155ff1ba93c5a33d7f35cfe14c9c1f9d335bf61
Parents: 452b7e7 7e9a6ee
Author: Suresh Subbiah <su...@apache.org>
Authored: Wed Mar 15 16:01:23 2017 +0000
Committer: Suresh Subbiah <su...@apache.org>
Committed: Wed Mar 15 16:01:23 2017 +0000

----------------------------------------------------------------------
 core/sqf/sql/scripts/analyzeMessageGuide.py | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------