db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r598825 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/IndexRowToBaseRowResultSet.java
Date Tue, 27 Nov 2007 23:46:07 GMT
Author: djd
Date: Tue Nov 27 15:46:00 2007
New Revision: 598825

URL: http://svn.apache.org/viewvc?rev=598825&view=rev
Log:
Remove some unused fields in IndexRowToBaseRowResultSet and organize its imports

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

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/IndexRowToBaseRowResultSet.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/IndexRowToBaseRowResultSet.java?rev=598825&r1=598824&r2=598825&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/IndexRowToBaseRowResultSet.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/IndexRowToBaseRowResultSet.java
Tue Nov 27 15:46:00 2007
@@ -21,41 +21,23 @@
 
 package org.apache.derby.impl.sql.execute;
 
-import org.apache.derby.iapi.services.monitor.Monitor;
-
+import org.apache.derby.catalog.types.ReferencedColumnsDescriptorImpl;
+import org.apache.derby.iapi.error.StandardException;
+import org.apache.derby.iapi.reference.SQLState;
+import org.apache.derby.iapi.services.io.FormatableBitSet;
+import org.apache.derby.iapi.services.loader.GeneratedMethod;
 import org.apache.derby.iapi.services.sanity.SanityManager;
-
-import org.apache.derby.iapi.services.stream.HeaderPrintWriter;
-import org.apache.derby.iapi.services.stream.InfoStreams;
-
+import org.apache.derby.iapi.sql.Activation;
 import org.apache.derby.iapi.sql.execute.CursorResultSet;
 import org.apache.derby.iapi.sql.execute.ExecRow;
 import org.apache.derby.iapi.sql.execute.NoPutResultSet;
-
-import org.apache.derby.iapi.types.DataValueDescriptor;
-
-import org.apache.derby.iapi.sql.Activation;
-import org.apache.derby.iapi.sql.ResultSet;
-import org.apache.derby.impl.sql.GenericPreparedStatement;
-
-import org.apache.derby.iapi.sql.conn.LanguageConnectionContext;
-import org.apache.derby.iapi.sql.conn.StatementContext;
-
 import org.apache.derby.iapi.store.access.ConglomerateController;
 import org.apache.derby.iapi.store.access.DynamicCompiledOpenConglomInfo;
 import org.apache.derby.iapi.store.access.StaticCompiledOpenConglomInfo;
 import org.apache.derby.iapi.store.access.TransactionController;
-
-import org.apache.derby.iapi.services.loader.GeneratedMethod;
-
-import org.apache.derby.iapi.reference.SQLState;
-import org.apache.derby.iapi.error.StandardException;
-
+import org.apache.derby.iapi.types.DataValueDescriptor;
 import org.apache.derby.iapi.types.RowLocation;
-
-import org.apache.derby.iapi.services.io.FormatableBitSet;
-
-import org.apache.derby.catalog.types.ReferencedColumnsDescriptorImpl;
+import org.apache.derby.impl.sql.GenericPreparedStatement;
 
 /**
  * Takes a result set with a RowLocation as the last column, and uses the
@@ -69,11 +51,8 @@
 
     // set in constructor and not altered during
     // life of object.
-	private long conglomId;
     public NoPutResultSet source;
-	private GeneratedMethod resultRowAllocator;
 	private GeneratedMethod restriction;
-    private long baseConglomId;
 	public FormatableBitSet accessedHeapCols;
 	//caching accessed columns (heap+index) beetle 3865
 	private FormatableBitSet accessedAllCols;
@@ -133,7 +112,6 @@
 		TransactionController tc = activation.getTransactionController();
 		dcoci = tc.getDynamicCompiledConglomInfo(conglomId);
         this.source = source;
-		this.resultRowAllocator = resultRowAllocator;
 		this.indexName = indexName;
 		this.forUpdate = forUpdate;
 		this.restriction = restriction;
@@ -295,7 +273,6 @@
 	 * @exception StandardException thrown if cursor finished.
 	 */
 	public void	reopenCore() throws StandardException {
-		TransactionController		tc;
 
 		if (SanityManager.DEBUG)
 		{



Mime
View raw message