db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r351550 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/BinaryLogicalOperatorNode.java
Date Fri, 02 Dec 2005 01:33:02 GMT
Author: djd
Date: Thu Dec  1 17:32:58 2005
New Revision: 351550

URL: http://svn.apache.org/viewcvs?rev=351550&view=rev
Log:
Update comment in generateExpression to correctly reflect the code.

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

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/BinaryLogicalOperatorNode.java
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/BinaryLogicalOperatorNode.java?rev=351550&r1=351549&r2=351550&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/BinaryLogicalOperatorNode.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/BinaryLogicalOperatorNode.java
Thu Dec  1 17:32:58 2005
@@ -143,12 +143,12 @@
 		/*
 		** This generates the following code:
 		**
-		** (<fieldx> = <leftOperand>).equals(shortCircuitValue) ?
+		** (<leftOperand>.equals(shortCircuitValue) ?
 		**	 <fieldy> = <shortCircuitValue, nullability> :
-		**   fieldx.<and/or>(<rightOperand>, nullability)
+		**   <leftOperand>.<and/or>(<rightOperand>, nullability)
 		**
 		** The ?: operator accomplishes the short-circuiting.  We save the
-		** value of the left operand in a field so we don't have to evaluate
+		** value of the left operand on the stack so we don't have to evaluate
 		** it twice.  We save the return value of the getBoolean() call so
 		** we can re-use that object rather than allocate a new one every
 		** time this method is called.



Mime
View raw message