You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Knut Anders Hatlen (JIRA)" <ji...@apache.org> on 2010/03/29 10:57:27 UTC

[jira] Closed: (DERBY-4600) Use ValueNodeList helper methods in CoalesceFunctionNode

     [ https://issues.apache.org/jira/browse/DERBY-4600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Knut Anders Hatlen closed DERBY-4600.
-------------------------------------

          Resolution: Fixed
       Fix Version/s: 10.6.0.0
    Issue & fix info:   (was: [Patch Available])

Committed revision 928649.

> Use ValueNodeList helper methods in CoalesceFunctionNode
> --------------------------------------------------------
>
>                 Key: DERBY-4600
>                 URL: https://issues.apache.org/jira/browse/DERBY-4600
>             Project: Derby
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 10.6.0.0
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>            Priority: Minor
>             Fix For: 10.6.0.0
>
>         Attachments: helpers.diff
>
>
> CoalesceFunctionNode manually iterates over argumentsList (a ValueNodeList) in acceptChildren(), preprocess(), remapColumnReferencesToExpressions() and isEquivalent(). ValueNodeList has helper methods for the first three of those, and those helper methods should be used instead to simplify the code. There is no helper method for isEquivalent(), but since very similar code is also found in the isEquivalent() methods of BinaryListOperatorNode and ConditionalNode, we should add a new helper and use it in those classes too.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.