Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-4735

prepare of an XA read only transaction with a declared global temporary table gets and ASSERT in SANE mode.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 10.7.1.1
    • None
    • JDBC
    • Low
    • Repro attached

    Description

      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]

      Attachments

        1. ReproXATempTableAssert.java
          6 kB
          Mike Matrigali

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mikem Mike Matrigali
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: