db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r1463379 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/HashTableResultSet.java
Date Tue, 02 Apr 2013 04:42:15 GMT
Author: dag
Date: Tue Apr  2 04:42:15 2013
New Revision: 1463379

URL: http://svn.apache.org/r1463379
Log:
DERBY-6133 simple array index typo 

Patch 6133.txt contributed by Dave Brosius (dbrosius at mebigfatguy
dot com).


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

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/HashTableResultSet.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/HashTableResultSet.java?rev=1463379&r1=1463378&r2=1463379&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/HashTableResultSet.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/HashTableResultSet.java
Tue Apr  2 04:42:15 2013
@@ -367,7 +367,7 @@ class HashTableResultSet extends NoPutRe
 						// Columns is really a Storable[]
 						for (int i = 0; i < columns.length; i++)
 						{
-							if (! (columns[0] instanceof Storable))
+                           if (! (columns[i] instanceof Storable))
 							{
 								SanityManager.THROWASSERT(
 								"columns[" + i + "] expected to be Storable, not " +



Mime
View raw message