db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krist...@apache.org
Subject svn commit: r1343593 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/JoinNode.java
Date Tue, 29 May 2012 08:04:44 GMT
Author: kristwaa
Date: Tue May 29 08:04:43 2012
New Revision: 1343593

URL: http://svn.apache.org/viewvc?rev=1343593&view=rev
Log:
DERBY-5787: [patch] remove dead allocation 

Removed dead allocation.
Patch contributed by Dave Brosius (dbrosius at apache dot org).

Patch file: remove_dead_allocation.diff


Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/JoinNode.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/JoinNode.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/JoinNode.java?rev=1343593&r1=1343592&r2=1343593&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/JoinNode.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/JoinNode.java Tue May
29 08:04:43 2012
@@ -2039,9 +2039,7 @@ public class JoinNode extends TableOpera
 	public JBitSet LOJgetReferencedTables(int numTables)
 				throws StandardException
 	{
-		JBitSet map = new JBitSet(numTables);
-
-		map = (JBitSet) leftResultSet.LOJgetReferencedTables(numTables);
+		JBitSet map = (JBitSet) leftResultSet.LOJgetReferencedTables(numTables);
 		if (map == null) return null;
 		else map.or((JBitSet) rightResultSet.LOJgetReferencedTables(numTables));
 



Mime
View raw message