[ 
https://issues.apache.org/jira/browse/DERBY-6284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13696666#comment-13696666
 ] 

Knut Anders Hatlen commented on DERBY-6284:
-------------------------------------------

I think nextAutoincrementValue() is used when adding an identity column with 
ALTER TABLE ... ADD COLUMN, called via reflection from 
AlterTableConstantAction.updateNewAutoincrementColumn(). Unfortunately, that 
functionality is disabled in the parser, so it might be tricky to test. See 
DERBY-3888.

lastAutoincrementValue() isn't used anywhere, so far as I can see.
                
> Improve test coverage of org.apache.derby.iapi.db.ConnectionInfo
> ----------------------------------------------------------------
>
>                 Key: DERBY-6284
>                 URL: https://issues.apache.org/jira/browse/DERBY-6284
>             Project: Derby
>          Issue Type: Sub-task
>          Components: JDBC
>            Reporter: Bryan Pendleton
>            Assignee: ahsan shamsudeen
>            Priority: Minor
>
> According to code coverage analysis, org.apache.derby.iapi.db.ConnectionInfo 
> is 
> not currently being exercised by any of our regression tests.
> This task is to investigate this class, and either remove the unused code, or 
> add
> regression test that exercise the code, as appropriate.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to