You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by my...@apache.org on 2010/08/15 06:17:17 UTC

svn commit: r985613 - /db/derby/code/trunk/java/client/org/apache/derby/client/am/SectionManager.java

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;
     }