db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-791) Expose api for printing Abstract Syntax Trees in production (non-debug) servers
Date Wed, 11 Nov 2009 21:44:48 GMT

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

Rick Hillegas updated DERBY-791:

    Attachment: derby-791-02-aa-printTargetColumnList.diff

Attaching derby-791-02-aa-printTargetColumnList.diff. This patch adds some more accept methods
so that InsertNodes walk their targetColumnLists in addition to the children they share with
their superclasses. Touches the following files:

M      java/engine/org/apache/derby/impl/sql/compile/DMLModStatementNode.java
M      java/engine/org/apache/derby/impl/sql/compile/InsertNode.java

> Expose api for printing Abstract Syntax Trees in production (non-debug) servers
> -------------------------------------------------------------------------------
>                 Key: DERBY-791
>                 URL: https://issues.apache.org/jira/browse/DERBY-791
>             Project: Derby
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Rick Hillegas
>         Attachments: ASTGrapher.java, derby-791-01-aa-fromListAndResultColumnList.diff,
derby-791-02-aa-printTargetColumnList.diff, XmlTreeWalker.java, XmlTreeWalker.java, XmlTreeWalker.java,
XmlTreeWalker.java, XmlTreeWalker.java, z.xml
> Currently you can print Abstract Syntax Trees to derby.log by setting the DumpParseTree
tracepoint at server startup. E.g.:
> java -cp $CLASSPATH -Dderby.debug.true=DumpParseTree -Dderby.stream.error.logSeverityLevel=0
org.apache.derby.tools.ij  z.sql
> This can be a useful debugging tool. However, it only works on debug servers built with
the following flags:
> sanity=true
> debug=true
> We should provide some mechanism for printing these trees in production (non-debug) servers.

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

View raw message