db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r632992 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/PredicateList.java
Date Mon, 03 Mar 2008 09:03:56 GMT
Author: dyre
Date: Mon Mar  3 01:03:56 2008
New Revision: 632992

URL: http://svn.apache.org/viewvc?rev=632992&view=rev
Log:
DERBY-2998: Add support for ROW_NUMBER() window function
Removing unnecessary pointsToWindowNode() in PredicateList.java
Patch contributed by Thomas Nielsen
Patch file: d2998-followup-2.diff


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

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/PredicateList.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/PredicateList.java?rev=632992&r1=632991&r2=632992&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/PredicateList.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/PredicateList.java Mon
Mar  3 01:03:56 2008
@@ -1465,8 +1465,7 @@
 				for (Enumeration e = colRefs.elements(); e.hasMoreElements(); )
 				{
 					ColumnReference ref = (ColumnReference)e.nextElement();
-					if (!ref.pointsToColumnReference() &&
-						!ref.pointsToWindowFunction())
+					if (!ref.pointsToColumnReference())
 					{
 						state = false;
 						break;



Mime
View raw message