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

typo in error message in SelectResultSet.java

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 2.4.0, 2.4.1
    • 2.4.2
    • Other
    • None

    Description

      The following error message in SelectResultSet.java mention
      net_wait_timeout.

        private SQLException handleIoException(IOException ioe) {
          return ExceptionMapper.getException(new SQLException("Server has closed the connection. "
              + "If result set contain huge amount of data, Server expects client to"
              + " read off the result set relatively fast. "
              + "In this case, please consider increasing net_wait_timeout session variable"
              + " / processing your result set faster (check Streaming result sets documentation for more information)",
              CONNECTION_EXCEPTION.getSqlState(), ioe), null, statement, false);
      }
      

      but net_wait_timeout not exists in MariaDB.

      I assume net_write_timeout or net_read_timeout would be correct.

      https://mariadb.com/kb/en/library/server-system-variables/#net_write_timeout

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            Richard Richard Stracke
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.