Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-612

Update AvaticaStatement to handle cancelled queries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.1.0-incubating
    • None
    • None

    Description

      Once the application cancels a query, the cursor corresponding to the result set is set back to null and any attempt to get the results results in a NPE.
      AvaticaStatement:internalExecute and AvaticaResultSet:next should check the state of the cursor and return false.

      Attachments

        1. CALCITE-612.patch.diff
          2 kB
          Parth Chandra
        2. CALCITE-612.2.patch.diff
          1 kB
          Parth Chandra

        Issue Links

          Activity

            People

              julianhyde Julian Hyde
              parthc Parth Chandra
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: