db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r632988 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj
Date Mon, 03 Mar 2008 08:55:15 GMT
Author: dyre
Date: Mon Mar  3 00:55:14 2008
New Revision: 632988

URL: http://svn.apache.org/viewvc?rev=632988&view=rev
Log:
DERBY-2998: Add support for ROW_NUMBER() window function
Patch contributed by Thomas Nielsen
Patch file: d2998-followup-issue1.diff

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

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj?rev=632988&r1=632987&r2=632988&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj Mon Mar
 3 00:55:14 2008
@@ -5000,10 +5000,6 @@
 			/*
 			 * If there is no AS clause, use the windowfunction name as the result column name.
 			 */
-			if (columnName == null)
-			{
-				columnName = "row_number()";
-			}
 			WindowNode windowNode = (WindowNode) nodeFactory.getNode(
 											C_NodeTypes.WINDOW_NODE,
 											null,  // name



Mime
View raw message