Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-79

ResultSet from previos query after "Read timed out" socket exception

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.1.6
    • 1.1.8
    • None
    • None

    Description

      Steps to reproduce:
      1 set connection string parameter socketTimeout = 2 (it will be 2 milliseconds see CONJ-78)
      2. execute query "select 1"
      3. exception: java.net.SocketTimeoutException: Read timed out
      4 execute query "select 2"
      5 get result of query

      Expected result: 2

      Actual result: 1
      And now ResultSet will not correspond for all queries for this connection.

      Attachments

        Activity

          People

            massimo.siani Massimo Siani (Inactive)
            mikeol Mikhail Olkhovskiy
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.