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 "Eranda Sooriyabandara (JIRA)" <ji...@apache.org> on 2011/01/15 07:36:45 UTC

[jira] Updated: (DERBY-268) Add Support for truncate table

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

Eranda Sooriyabandara updated DERBY-268:
----------------------------------------

    Attachment: Derby-268.diff

Hi Rick,
Thanks Rick the previous comment was exactly describing what I want to know.
I did some work on this and came up with a patch which is not fully completed.  
I use the following method to get the tableElementList. But it gives a TableElementList, which has zero elements.

TableElementList tableElementList = (TableElementList) nodeFactory.getNode(
                                            C_NodeTypes.TABLE_ELEMENT_LIST,
                                            getContextManager());

Is it a incorrect way to get the table element list. 
And  please take a look at the code and let me know your ideas.
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, 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.