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] Updated: (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:49 GMT

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

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

    Issue & fix info: [Repro attached]

Kathey Marden  checked in fixtures for the RawStore error and  the Assert case to XATest.
The fixtures are xtestXATempTableD4731_RawStore() and xtestXATempTableD4731_Assert and can
be enabled by removing the 'x' in front. 

> 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