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

values SYSCS_UTIL.SYSCS_GET_RUNTIMESTATISTICS() returns null in test ScrollCursors1Test when run against network server

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.3.1.4
    • Fix Version/s: None
    • Component/s: Network Client
    • Urgency:
      Low
    • Issue & fix info:
      Newcomer, Repro attached
    • Bug behavior facts:
      Embedded/Client difference

      Description

      Call to runtimestatistics in the new test ScrollCursors1Test returns null value when run against network server.
      Look for the reference to this bug near the following code. I was not able to reproduce this outside of the test.

      rs2 = s.executeQuery("values SYSCS_UTIL.SYSCS_GET_RUNTIMESTATISTICS()");
      rs2.next();

      if (usingEmbedded())

      { // not sure why I get a null rts with network server. RuntimeStatisticsParser rts = new RuntimeStatisticsParser(rs2.getString(1)); rs2.close(); assertEquals(Connection.TRANSACTION_READ_COMMITTED, rts.getIsolationLevel()); assertTrue(rts.usedTableScan()); assertTrue(rts.isScrollInsensitive()); }

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kmarsden Kathey Marsden
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: