db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r598419 - in /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute: NoPutResultSetImpl.java NoRowsResultSetImpl.java
Date Mon, 26 Nov 2007 20:45:46 GMT
Author: djd
Date: Mon Nov 26 12:45:46 2007
New Revision: 598419

URL: http://svn.apache.org/viewvc?rev=598419&view=rev
Log:
Remove some unused fields and methods in the base language ResultSet implementation classes

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/NoPutResultSetImpl.java
    db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/NoRowsResultSetImpl.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/NoPutResultSetImpl.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/NoPutResultSetImpl.java?rev=598419&r1=598418&r2=598419&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/NoPutResultSetImpl.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/NoPutResultSetImpl.java
Mon Nov 26 12:45:46 2007
@@ -61,16 +61,9 @@
 	/* Set in constructor and not modified */
 	public final int				resultSetNumber;
 
-	/* fields used for formating run time statistics output */
-	protected String indent;
-	protected String subIndent;
-	protected int sourceDepth;
-
 	// fields used when being called as a RowSource
 	private boolean needsRowLocation;
 	protected ExecRow clonedExecRow;
-	GeneratedMethod	checkGM;
-	long			heapConglomerate;
 	protected TargetResultSet	targetResultSet;
 
 	/* beetle 4464. compact flags into array of key column positions that we do check/skip nulls,
@@ -285,31 +278,6 @@
 				}
 			}
 		}
-	}
-
-	/* Support methods for RowSource interface.
-	 * These methods are used for enabling check constraint enforcement and
-	 * replication logging for published tables when we are a RowSource.
-	 */
-
-	/**
-	 * Set the GeneratedMethod for enforcing check constraints
-	 * 
-	 * @param checkGM	The GeneratedMethod for enforcing any check constraints.
-	 */
-	protected void setCheckConstraints(GeneratedMethod checkGM)
-	{
-		this.checkGM = checkGM;
-	}
-
-	/**
-	 * Set the heap conglomerate number (used in enforcing check constraints)
-	 * 
-	 * @param heapConglomerate	The heap conglomerate number.
-	 */
-	protected void setHeapConglomerate(long heapConglomerate)
-	{
-		this.heapConglomerate = heapConglomerate;
 	}
 
 	/**

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/NoRowsResultSetImpl.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/NoRowsResultSetImpl.java?rev=598419&r1=598418&r2=598419&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/NoRowsResultSetImpl.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/NoRowsResultSetImpl.java
Mon Nov 26 12:45:46 2007
@@ -66,11 +66,6 @@
 	/** True if the result set has been opened, and not yet closed. */
 	private boolean isOpen;
 
-	/* fields used for formating run time statistics output */
-	protected String indent;
-	protected String subIndent;
-	protected int sourceDepth;
-
 	/* Run time statistics variables */
 	final LanguageConnectionContext lcc;
 	protected long beginTime;



Mime
View raw message