db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eranda Sooriyabandara (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-268) Add Support for truncate table
Date Sat, 15 Jan 2011 06:36:45 GMT

     [ 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.


Mime
View raw message