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)" <ji...@apache.org> on 2010/07/07 02:23:50 UTC

[jira] Updated: (DERBY-4735) prepare of an XA read only transaction with a declared global temporary table gets and ASSERT in SANE mode.

     [ https://issues.apache.org/jira/browse/DERBY-4735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Matrigali updated DERBY-4735:
----------------------------------

    Attachment: ReproXATempTableAssert.java

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.