db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel John Debrunner (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-1208) Attempts to reuse a prepared statement after an execution-time error causes ASSERT failure in SANE mode, but work fine in INSANE.
Date Sun, 09 Jul 2006 17:10:31 GMT
    [ http://issues.apache.org/jira/browse/DERBY-1208?page=comments#action_12419924 ] 

Daniel John Debrunner commented on DERBY-1208:
----------------------------------------------

The modified test prepStmtNull succeeds (in sane & insane)  for me *without* applying
the code changes to the ResultSets.
The repro d1208.java does fail for me in sane mode. (and passes in insane).

> Attempts to reuse a prepared statement after an execution-time error causes ASSERT failure
in SANE mode, but work fine in INSANE.
> ---------------------------------------------------------------------------------------------------------------------------------
>
>          Key: DERBY-1208
>          URL: http://issues.apache.org/jira/browse/DERBY-1208
>      Project: Derby
>         Type: Bug

>   Components: JDBC
>     Versions: 10.2.0.0
>     Reporter: A B
>     Priority: Minor
>  Attachments: 1208.diff, d1208.java, derby.log
>
> Please see the comments in DERBY-1196 for the discussion that prompted the filing of
this issue.  In short, if one attempts to reuse a prepared statement with a new set of parameters
after a previous call to execute that statement has failed, the result will be an ASSERT failure
in SANE mode.   When the same thing is done in INSANE mode, everything works as one might
expect it to.

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


Mime
View raw message