db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Matrigali (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (DERBY-4735) prepare of an XA read only transaction with a declared global temporary table gets and ASSERT in SANE mode.
Date Wed, 07 Jul 2010 00:25:50 GMT

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

Mike Matrigali edited comment on DERBY-4735 at 7/6/10 8:24 PM:
---------------------------------------------------------------

standalone test case is attached.

      was (Author: mikem):
    standalone test case.
  
> prepare of an XA read only transaction with a declared global temporary table gets and
ASSERT in SANE mode.
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-4735
>                 URL: https://issues.apache.org/jira/browse/DERBY-4735
>             Project: Derby
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 10.7.0.0
>            Reporter: Mike Matrigali
>         Attachments: ReproXATempTableAssert.java
>
>
> An ASSERT while attempting to do a prepare on a readonly XA transaction that has done
> work with an a declare global temporary table.
>  java ReproXATempTableAssert
> ot 1rows from session.t1 before commit
> Exception in thread "main" org.apache.derby.shared.common.sanity.AssertFailure:
> ASSERT FAILED real connection should have been idle at this point
>        at org.apache.derby.shared.common.sanity.SanityManager.ASSERT(SanityMana
> er.java:120)
>        at org.apache.derby.jdbc.EmbedXAResource.prepare(EmbedXAResource.java:29
> )
>        at ReproXATempTableAssert.tempTableInXA(ReproXATEmpTableAssert.java:54)
>        at ReproXATempTableAssert.main(ReproXATEmpTableAssert.java:14)
> --------------
> tack traces for all live threads:
> [snip thread dump]

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