Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-21133

Sql. Closing all dependent statement cursors leads to unexpected exception.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0-beta1
    • None
    • sql

    Description

      For example we already have some results in table and further execution:

              1. stmt.execute("START TRANSACTION; INSERT INTO TEST_TX VALUES (1, 1, '1'); COMMIT"); <- pk violation
              2. stmt.execute("SELECT COUNT(*) FROM TEST_TX");
      

      need to lead exception raised on 1 execution but due to closing all unfetched cursors happens only in 2 execution call, exception will raised there but expected exception need to be raised from 1.

      Attachments

        Activity

          People

            Unassigned Unassigned
            zstan Evgeny Stanilovsky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: