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 rh...@apache.org on 2013/06/14 17:44:17 UTC

svn commit: r1493125 - in /db/derby/code/branches/10.10: ./ java/engine/org/apache/derby/impl/sql/compile/CursorNode.java

Author: rhillegas
Date: Fri Jun 14 15:44:17 2013
New Revision: 1493125

URL: http://svn.apache.org/r1493125
Log:
DERBY-6263: Port 1493123 from trunk to 10.10 branch.

Modified:
    db/derby/code/branches/10.10/   (props changed)
    db/derby/code/branches/10.10/java/engine/org/apache/derby/impl/sql/compile/CursorNode.java

Propchange: db/derby/code/branches/10.10/
------------------------------------------------------------------------------
  Merged /db/derby/code/trunk:r1493123

Modified: db/derby/code/branches/10.10/java/engine/org/apache/derby/impl/sql/compile/CursorNode.java
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.10/java/engine/org/apache/derby/impl/sql/compile/CursorNode.java?rev=1493125&r1=1493124&r2=1493125&view=diff
==============================================================================
--- db/derby/code/branches/10.10/java/engine/org/apache/derby/impl/sql/compile/CursorNode.java (original)
+++ db/derby/code/branches/10.10/java/engine/org/apache/derby/impl/sql/compile/CursorNode.java Fri Jun 14 15:44:17 2013
@@ -30,6 +30,7 @@ import org.apache.derby.iapi.services.co
 import org.apache.derby.iapi.services.sanity.SanityManager;
 import org.apache.derby.iapi.sql.ResultColumnDescriptor;
 import org.apache.derby.iapi.sql.compile.C_NodeTypes;
+import org.apache.derby.iapi.sql.compile.Visitor;
 import org.apache.derby.iapi.sql.conn.Authorizer;
 import org.apache.derby.iapi.sql.dictionary.DataDictionary;
 import org.apache.derby.iapi.sql.dictionary.TableDescriptor;
@@ -896,4 +897,22 @@ public class CursorNode extends DMLState
             return tmp;
         }
     }
+    
+	/**
+	 * Accept the visitor for all visitable children of this node.
+	 * 
+	 * @param v the visitor
+	 *
+	 * @exception StandardException on error
+	 */
+	void acceptChildren(Visitor v)
+		throws StandardException
+	{
+        super.acceptChildren(v);
+
+        if (orderByList != null) { orderByList.acceptChildren( v ); }
+        if (offset != null) { offset.acceptChildren( v ); }
+        if (fetchFirst != null) { fetchFirst.acceptChildren( v ); }
+	}
+
 }