db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmars...@apache.org
Subject svn commit: r357057 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/ParameterNode.java
Date Thu, 15 Dec 2005 19:03:34 GMT
Author: kmarsden
Date: Thu Dec 15 11:03:30 2005
New Revision: 357057

URL: http://svn.apache.org/viewcvs?rev=357057&view=rev
Log:
DERBY-739  Reduce generated code required to access a parameter's value

follow up patch.
callMethod was missing the declaring class. 


Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/ParameterNode.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/ParameterNode.java
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/ParameterNode.java?rev=357057&r1=357056&r2=357057&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/ParameterNode.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/ParameterNode.java Thu
Dec 15 11:03:30 2005
@@ -366,7 +366,7 @@
         mb.pushThis();
         mb.push(parameterNumber); // arg
 
-        mb.callMethod(VMOpcode.INVOKEVIRTUAL, (String) null, "getParameter",
+        mb.callMethod(VMOpcode.INVOKEVIRTUAL, ClassName.BaseActivation, "getParameter",
                       ClassName.DataValueDescriptor, 1);
 
 		// For some types perform host variable checking



Mime
View raw message