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

Missing resets of isOnInsertRow state in net client when navigating away via other than ResultSet#next

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.2.1.6
    • 10.2.1.6
    • JDBC, Network Client
    • None

    Description

      Please see the enclosed repro program.

      When attempting the deleteRow, it will fail with SQL state 24000 "no
      current row", since the first() call doesn't properly reset the
      IsOnInsertRow_ state. By inspection of ../am/ResultSet.java I found
      the other positioning calls beside next and moveToCurrentRow to suffer
      the same problem.

      Attachments

        1. derby-1322v2.diff
          11 kB
          Fernanda Pizzorno
        2. derby-1322v2.stat
          0.3 kB
          Fernanda Pizzorno
        3. derby-1322.diff
          11 kB
          Fernanda Pizzorno
        4. derby-1322.stat
          0.3 kB
          Fernanda Pizzorno
        5. Repro.java
          7 kB
          Dag H. Wanvik

        Activity

          People

            fernanda Fernanda Pizzorno
            dagw Dag H. Wanvik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: