db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krist...@apache.org
Subject svn commit: r1392243 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/AlterTableConstantAction.java
Date Mon, 01 Oct 2012 09:14:58 GMT
Author: kristwaa
Date: Mon Oct  1 09:14:57 2012
New Revision: 1392243

URL: http://svn.apache.org/viewvc?rev=1392243&view=rev
Log:
DERBY-5740: Remove unsued code in AlterTableConstantaction.columnDroppedAndTriggerDependencies

Removed unused code.

Patch file: derby-5740-1a-code_removal.diff

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/AlterTableConstantAction.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/AlterTableConstantAction.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/AlterTableConstantAction.java?rev=1392243&r1=1392242&r2=1392243&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/AlterTableConstantAction.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/AlterTableConstantAction.java
Mon Oct  1 09:14:57 2012
@@ -1831,11 +1831,6 @@ class AlterTableConstantAction extends D
 		newCC = null;
 		
 		try {
-			// We are interested in ColumnReference classes in the parse tree
-			CollectNodesVisitor visitor = new CollectNodesVisitor(ColumnReference.class);
-			stmtnode.accept(visitor);
-			Vector refs = visitor.getList();
-			
 			// Regenerate the internal representation for the trigger action 
 			// sql using the ColumnReference classes in the parse tree. It
 			// will catch dropped column getting used in trigger action sql



Mime
View raw message