db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From myrn...@apache.org
Subject svn commit: r985613 - /db/derby/code/trunk/java/client/org/apache/derby/client/am/SectionManager.java
Date Sun, 15 Aug 2010 04:17:17 GMT
Author: myrnavl
Date: Sun Aug 15 04:17:16 2010
New Revision: 985613

URL: http://svn.apache.org/viewvc?rev=985613&view=rev
Log:
DERBY-4767; Detailed prompt for Error XCL16 is different between Client and Embedded; one
change from 'next' to 'update' as operation.

Modified:
    db/derby/code/trunk/java/client/org/apache/derby/client/am/SectionManager.java

Modified: db/derby/code/trunk/java/client/org/apache/derby/client/am/SectionManager.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/client/org/apache/derby/client/am/SectionManager.java?rev=985613&r1=985612&r2=985613&view=diff
==============================================================================
--- db/derby/code/trunk/java/client/org/apache/derby/client/am/SectionManager.java (original)
+++ db/derby/code/trunk/java/client/org/apache/derby/client/am/SectionManager.java Sun Aug
15 04:17:16 2010
@@ -193,7 +193,7 @@ public class SectionManager {
         ResultSet rs = (ResultSet) ((WeakReference) (positionedUpdateCursorNameToResultSet_.get(cursorName))).get();
         if (rs == null) {
             throw new SqlException(agent_.logWriter_, 
-                new ClientMessageId(SQLState.LANG_RESULT_SET_NOT_OPEN), "next");
+                new ClientMessageId(SQLState.LANG_RESULT_SET_NOT_OPEN), "update");
         }
         return (rs.resultSetType_ == java.sql.ResultSet.TYPE_FORWARD_ONLY) ? null : rs;
     }



Mime
View raw message