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

Query timeout set for one statement may affect other statements with the same SQL string

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.2.1.6
    • Component/s: SQL
    • Labels:
      None

      Description

      The timeout is being set on the class GenericPreparedStatement, but this
      represents a statement plan and can be shared across multiple
      connections (through the statement cache). Thus if two connections
      execute the same statement with different timeouts, they will interfere
      with each other with the timeout values.

        Attachments

        1. DERBY-579.svn.diff
          28 kB
          Oyvind Bakksjo
        2. DERBY-579.svn.status
          0.7 kB
          Oyvind Bakksjo

          Issue Links

            Activity

              People

              • Assignee:
                bakksjo Oyvind Bakksjo
                Reporter:
                bakksjo Oyvind Bakksjo
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: