trafodion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbirds...@apache.org
Subject [2/3] incubator-trafodion git commit: Rework per review comments
Date Wed, 03 May 2017 15:29:41 GMT
Rework per review comments


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

Branch: refs/heads/master
Commit: 215878747e5105992c5d0d6711842ff052e9760a
Parents: 9841390
Author: Dave Birdsall <dbirdsall@apache.org>
Authored: Wed May 3 00:01:39 2017 +0000
Committer: Dave Birdsall <dbirdsall@apache.org>
Committed: Wed May 3 00:01:39 2017 +0000

----------------------------------------------------------------------
 core/sql/sqlci/sqlci_lex.ll | 2 --
 core/sql/sqlci/sqlci_yacc.y | 4 ----
 2 files changed, 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/21587874/core/sql/sqlci/sqlci_lex.ll
----------------------------------------------------------------------
diff --git a/core/sql/sqlci/sqlci_lex.ll b/core/sql/sqlci/sqlci_lex.ll
index ab7d7e8..18b7f48 100755
--- a/core/sql/sqlci/sqlci_lex.ll
+++ b/core/sql/sqlci/sqlci_lex.ll
@@ -412,8 +412,6 @@ B			[ \t\n]+
 [Gg][Rr][Aa][Nn][Tt]                   return_IDENT_or_TOKEN(GIVE, 0);
 [Gg][Ii][Vv][Ee]                       return_IDENT_or_TOKEN(GRANTtoken, 0);
 [Rr][Ee][Vv][Oo][Kk][Ee]               return_IDENT_or_TOKEN(REVOKEtoken, 0);
-[Pp][Uu][Bb][Ll][Ii][Ss][Hh]           return_IDENT_or_TOKEN(PUBLISH, 0);
-[Uu][Nn][Pp][Uu][Bb][Ll][Ii][Ss][Hh]   return_IDENT_or_TOKEN(UNPUBLISH, 0);
 [Nn][Aa][Mm][Ee][Tt][Yy][Pp][Ee]       return_IDENT_or_TOKEN(NAMETYPE, 0);
 [Mm][Pp][Ll][Oo][Cc]                   return_IDENT_or_TOKEN(MPLOC, 0);
 [Cc][Aa][Tt][Aa][Ll][Oo][Gg]	       return_IDENT_or_TOKEN(CATALOG, 0);

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/21587874/core/sql/sqlci/sqlci_yacc.y
----------------------------------------------------------------------
diff --git a/core/sql/sqlci/sqlci_yacc.y b/core/sql/sqlci/sqlci_yacc.y
index eb94003..c42b097 100644
--- a/core/sql/sqlci/sqlci_yacc.y
+++ b/core/sql/sqlci/sqlci_yacc.y
@@ -538,8 +538,6 @@ static char * FCString (const char *idString, int isFC)
 %token GRANTtoken REVOKEtoken
 %token REGISTER UNREGISTER
 %token GIVE 
-%token PUBLISH 
-%token UNPUBLISH
 %token INITIALIZE REINITIALIZE
 %token CATALOG SCHEMA
 %token HIVEtoken
@@ -2229,8 +2227,6 @@ dml_type :
         |       GIVE                    {$$ = DML_DDL_TYPE;}
         |       GRANTtoken              {$$ = DML_DDL_TYPE;}
         |       REVOKEtoken             {$$ = DML_DDL_TYPE;}
-        |       PUBLISH                 {$$ = DML_DDL_TYPE;}
-        |       UNPUBLISH               {$$ = DML_DDL_TYPE;}
         |       REGISTER                {$$ = DML_DDL_TYPE;}
         |       UNREGISTER              {$$ = DML_DDL_TYPE;}
 	|       SHOWCONTROL 		{$$ = DML_DESCRIBE_TYPE;}


Mime
View raw message