db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r1143002 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/BaseColumnNode.java
Date Tue, 05 Jul 2011 11:52:34 GMT
Author: kahatlen
Date: Tue Jul  5 11:52:33 2011
New Revision: 1143002

URL: http://svn.apache.org/viewvc?rev=1143002&view=rev
Log:
DERBY-5010: bad equivalence check

Fix contributed by Dave Brosius <dbrosius@apache.org>.

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

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/BaseColumnNode.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/BaseColumnNode.java?rev=1143002&r1=1143001&r2=1143002&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/BaseColumnNode.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/BaseColumnNode.java
Tue Jul  5 11:52:33 2011
@@ -180,7 +180,7 @@ public class BaseColumnNode extends Valu
 		if (isSameNodeType(o)) 
 		{
 			BaseColumnNode other = (BaseColumnNode)o;
-			return other.tableName.equals(other.tableName) 
+			return other.tableName.equals(tableName)
 			&& other.columnName.equals(columnName);
 		} 
 		return false;



Mime
View raw message