db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krist...@apache.org
Subject svn commit: r1042461 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/QueryTreeNode.java
Date Sun, 05 Dec 2010 21:57:47 GMT
Author: kristwaa
Date: Sun Dec  5 21:57:46 2010
New Revision: 1042461

URL: http://svn.apache.org/viewvc?rev=1042461&view=rev
Log:
DERBY-4771: Continue investigation of automatic creation/update of index statistics.

Removed unused method getRowEstimate.

Spotted by Dag H. Wanvik (dag dot wanvik at oracle dot com).


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

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/QueryTreeNode.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/QueryTreeNode.java?rev=1042461&r1=1042460&r2=1042461&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/QueryTreeNode.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/QueryTreeNode.java Sun
Dec  5 21:57:46 2010
@@ -580,23 +580,6 @@ public abstract class QueryTreeNode impl
 	}
 
 	/**
-	 * Get the optimizer's estimate of the number of rows returned or affected
-	 * for an optimized QueryTree.
-	 *
-	 * For non-optimizable statements (for example, CREATE TABLE),
-	 * return 0. For optimizable statements, this method will be
-	 * over-ridden in the statement's root node (DMLStatementNode
-	 * in all cases we know about so far).
-	 *
-	 * @return	0L
-	 */
-
-	public long	getRowEstimate()
-	{
-		return	0L;
-	}
-
-	/**
 	 * Do the code generation for this node.  This is a place-holder
 	 * method - it should be over-ridden in the sub-classes.
 	 *



Mime
View raw message