db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r514027 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/BaseActivation.java
Date Sat, 03 Mar 2007 00:30:14 GMT
Author: djd
Date: Fri Mar  2 16:30:12 2007
New Revision: 514027

URL: http://svn.apache.org/viewvc?view=rev&rev=514027
Log:
Add some comments to the method BaseActivation.checkPositionedStatement based upon
some understanding I gained while adding fixtures to CurrentOfTest.

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

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/BaseActivation.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/BaseActivation.java?view=diff&rev=514027&r1=514026&r2=514027
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/BaseActivation.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/BaseActivation.java
Fri Mar  2 16:30:12 2007
@@ -1358,6 +1358,18 @@
 		return row[rsNumber].getColumn(colId);
 	}
 
+    /**
+     * Check that a positioned statement is executing against a cursor
+     * from the same PreparedStatement (plan) that the positioned
+     * statement was original compiled against.
+     * 
+     * Only called from generated code for positioned UPDATE and DELETE
+     * statements. See CurrentOfNode.
+     * 
+     * @param cursorName Name of the cursor
+     * @param psName Object name of the PreparedStatement.
+     * @throws StandardException
+     */
 	protected void checkPositionedStatement(String cursorName, String psName)
 		throws StandardException {
 



Mime
View raw message