db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From myrn...@apache.org
Subject svn commit: r986161 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/ScrollInsensitiveResultSet.java
Date Mon, 16 Aug 2010 23:30:44 GMT
Author: myrnavl
Date: Mon Aug 16 23:30:44 2010
New Revision: 986161

URL: http://svn.apache.org/viewvc?rev=986161&view=rev
Log:
DERBY-4776; Correct wrong operation for LANG_RESULT_SET_NOT_OPEN in ScrollInsensitiveResultSet.getPreviousRow()
from 'next' to 'previous' 
  patch contributed by Yun Lee (yun dot lee dot bj at gmail dot com)

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

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/ScrollInsensitiveResultSet.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/ScrollInsensitiveResultSet.java?rev=986161&r1=986160&r2=986161&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/ScrollInsensitiveResultSet.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/ScrollInsensitiveResultSet.java
Mon Aug 16 23:30:44 2010
@@ -560,7 +560,7 @@ public class ScrollInsensitiveResultSet 
 	{
 	    if ( ! isOpen ) 
 		{
-			throw StandardException.newException(SQLState.LANG_RESULT_SET_NOT_OPEN, "next");
+			throw StandardException.newException(SQLState.LANG_RESULT_SET_NOT_OPEN, "previous");
 		}
 
 		if (SanityManager.DEBUG)



Mime
View raw message