db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krist...@apache.org
Subject svn commit: r495159 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/store/raw/data/BasePage.java
Date Thu, 11 Jan 2007 08:51:31 GMT
Author: kristwaa
Date: Thu Jan 11 00:51:30 2007
New Revision: 495159

URL: http://svn.apache.org/viewvc?view=rev&rev=495159
Log:
DERBY-2223: Let BasePage.fetchFieldFromSlot use the special single-col FetchDescriptor ctor.

Patch contributed by Dyre Tjeldvoll.

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/store/raw/data/BasePage.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/store/raw/data/BasePage.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/store/raw/data/BasePage.java?view=diff&rev=495159&r1=495158&r2=495159
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/store/raw/data/BasePage.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/store/raw/data/BasePage.java Thu
Jan 11 00:51:30 2007
@@ -515,12 +515,9 @@
         // needs to be RESOLVED
 		Object[] row = new Object[fieldId + 1];
 		row[fieldId] = column;
-		FormatableBitSet singleColumn = new FormatableBitSet(fieldId + 1);
 
-		singleColumn.set(fieldId);
-
-        FetchDescriptor fetchDesc = 
-            new FetchDescriptor(fieldId + 1, singleColumn,(Qualifier[][]) null);
+		FetchDescriptor fetchDesc = 
+			new FetchDescriptor(fieldId + 1, fieldId);
 
 		return(fetchFromSlot(null, slot, row, fetchDesc, true));
 	}



Mime
View raw message