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 "Daniel John Debrunner (JIRA)" <de...@db.apache.org> on 2005/11/29 05:43:41 UTC

[jira] Resolved: (DERBY-730) SQL statements that fail to parse remain in the statement cache.

     [ http://issues.apache.org/jira/browse/DERBY-730?page=all ]
     
Daniel John Debrunner resolved DERBY-730:
-----------------------------------------

    Resolution: Fixed

Fixed by moving remove from statement cache code to an outer try/catch block that covered all exceptions while compiling a statement.

Sending        java\engine\org\apache\derby\impl\sql\GenericStatement.java
Sending        java\testing\org\apache\derbyTesting\functionTests\master\miscerrors.out
Sending        java\testing\org\apache\derbyTesting\functionTests\tests\lang\miscerrors.sql
Transmitting file data ...
Committed revision 349632.

> SQL statements that fail to parse remain in the statement cache.
> ----------------------------------------------------------------
>
>          Key: DERBY-730
>          URL: http://issues.apache.org/jira/browse/DERBY-730
>      Project: Derby
>         Type: Bug
>   Components: SQL
>     Versions: 10.2.0.0
>     Reporter: Daniel John Debrunner
>     Assignee: Daniel John Debrunner
>     Priority: Trivial
>      Fix For: 10.2.0.0

>
> SQL statements that fial to parse are left in the statement cache, while those that fail binding are correctly removed from the cache.

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