trafodion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ansha...@apache.org
Subject [7/8] incubator-trafodion git commit: JIRA 1852: disallow reserved names as user columns
Date Fri, 18 Mar 2016 15:24:33 GMT
JIRA 1852: disallow reserved names as user columns


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

Branch: refs/heads/master
Commit: 14b17ddd9c591eb75bf9a9a0dc5c085f3c7dee04
Parents: 5cdf688
Author: Cloud User <centos@ansharma-3.novalocal>
Authored: Thu Mar 17 15:56:54 2016 +0000
Committer: Cloud User <centos@ansharma-3.novalocal>
Committed: Thu Mar 17 15:56:54 2016 +0000

----------------------------------------------------------------------
 core/sql/sqlcomp/CmpSeabaseDDLtable.cpp | 12 ------------
 1 file changed, 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/14b17ddd/core/sql/sqlcomp/CmpSeabaseDDLtable.cpp
----------------------------------------------------------------------
diff --git a/core/sql/sqlcomp/CmpSeabaseDDLtable.cpp b/core/sql/sqlcomp/CmpSeabaseDDLtable.cpp
index 20f020b..4ce1313 100644
--- a/core/sql/sqlcomp/CmpSeabaseDDLtable.cpp
+++ b/core/sql/sqlcomp/CmpSeabaseDDLtable.cpp
@@ -3896,18 +3896,6 @@ void CmpSeabaseDDL::renameSeabaseTable(
       return;
     }
 
-  const CheckConstraintList &checkList = naTable->getCheckConstraints();
-  if (checkList.entries() > 0)
-    {
-      *CmpCommon::diags()
-        << DgSqlCode(-1427)
-        << DgString0("Reason: Operation not allowed if check constraints are present.
Drop the constraints and recreate them after rename.");
-      
-      processReturn();
-      
-      return;
-    }
-    
   Int64 objUID = getObjectUID(&cliInterface,
                               catalogNamePart.data(), schemaNamePart.data(), 
                               objectNamePart.data(),


Mime
View raw message