[
https://issues.apache.org/jira/browse/DERBY-268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eranda Sooriyabandara updated DERBY-268:
----------------------------------------
Attachment: changes.diff
Hi Rick,
Sorry for being late to reply.
I used "TableElementList tableElementList = (TableElementList)
nodeFactory.getNode(C_NodeTypes.TABLE_ELEMENT_LIST, getContextManager());"
to get the TableElementList inside of the truncateTableStatement() in the
SQLParser but it didn't give the actual results of the table which I created.
For example it gives the number of the columns 0 and when I try to get the
first element it gives an exception. Any idea why above doesn't return the
correct TableElementList?
Also here I am attaching the changes I did.
thanks
> Add Support for truncate table
> ------------------------------
>
> Key: DERBY-268
> URL: https://issues.apache.org/jira/browse/DERBY-268
> Project: Derby
> Issue Type: Improvement
> Components: SQL
> Reporter: Lance Andersen
> Assignee: Eranda Sooriyabandara
> Priority: Minor
> Attachments: changes.diff,
> derby-268-01-ab-enableForInsaneBuilds.diff, derby-268-02-aa-permsTest.diff,
> derby-268-03-aa-npe.diff, Derby-268.diff, tests.diff,
> TruncateConcurrency.java, TruncateConcurrency.java, TruncateConcurrency.java
>
>
> Adding support for truncate table command will aid to portability
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.