Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-4087

Clean up debug printing of the abstract syntax trees after parsing, binding and optimization

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 10.6.1.0
    • Miscellaneous, SQL
    • None

    Description

      Currently, the printing is often inconsistent:

      • some subtrees not printed
      • wrong indentation due to missing newlines, or lacking level increments
      • redundant printing of subtrees (AST is really a DAG, would be nice to print only once and then refer back to show aliasing)
      • some items printed twice due to inconsistent usage of pattern

      Attachments

        1. derby-4087-a.diff
          41 kB
          Dag H. Wanvik
        2. derby-4087-a.stat
          3 kB
          Dag H. Wanvik
        3. sample.log
          26 kB
          Dag H. Wanvik
        4. dumpquery
          2 kB
          Dag H. Wanvik
        5. derby-4087-b.diff
          53 kB
          Dag H. Wanvik
        6. derby-4087-b.stat
          4 kB
          Dag H. Wanvik
        7. derby-4087-statistics.diff
          802 kB
          Dag H. Wanvik
        8. derby-4087-statistics.stat
          2 kB
          Dag H. Wanvik

        Activity

          People

            dagw Dag H. Wanvik
            dagw Dag H. Wanvik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: