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 "Mike Matrigali (JIRA)" <de...@db.apache.org> on 2005/08/17 01:03:55 UTC

[jira] Updated: (DERBY-216) expand largeCodeGen.java test

     [ http://issues.apache.org/jira/browse/DERBY-216?page=all ]

Mike Matrigali updated DERBY-216:
---------------------------------

      Component: Test
    Description: 
the largeCodeGen test needs to be expanded to include other cases that genreate large amounts of byte code. 


For example:
     large in clause
     large insert statement that inserts many rows
     sql statements with large constant values 

It is best if the verious tests just use a variable that can be bumped higher and higher for testing and if individual cases are isolated.

Possible approaches, think of ways to make sql statements really big that will take different code paths.

Look in the code for instances of statementNumHitLimit and create cases that pass through that code.  Those cases may pass but the hope is to get rid of these calls in favor of splitting  the code in a centralized way, so add the tests to largeCodeGen even if they don't fail.

     



  was:
the largeCodeGen test needs to be expanded to include other cases that genreate large amounts of byte code. 


For example:
     large in clause
     large insert statement that inserts many rows
     sql statements with large constant values 

It is best if the verious tests just use a variable that can be bumped higher and higher for testing and if individual cases are isolated.

Possible approaches, think of ways to make sql statements really big that will take different code paths.

Look in the code for instances of statementNumHitLimit and create cases that pass through that code.  Those cases may pass but the hope is to get rid of these calls in favor of splitting  the code in a centralized way, so add the tests to largeCodeGen even if they don't fail.

     



    Environment: 

> expand largeCodeGen.java test
> -----------------------------
>
>          Key: DERBY-216
>          URL: http://issues.apache.org/jira/browse/DERBY-216
>      Project: Derby
>         Type: Sub-task
>   Components: Test
>     Reporter: Kathey Marsden

>
> the largeCodeGen test needs to be expanded to include other cases that genreate large amounts of byte code. 
> For example:
>      large in clause
>      large insert statement that inserts many rows
>      sql statements with large constant values 
> It is best if the verious tests just use a variable that can be bumped higher and higher for testing and if individual cases are isolated.
> Possible approaches, think of ways to make sql statements really big that will take different code paths.
> Look in the code for instances of statementNumHitLimit and create cases that pass through that code.  Those cases may pass but the hope is to get rid of these calls in favor of splitting  the code in a centralized way, so add the tests to largeCodeGen even if they don't fail.
>      

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira