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

typo in error message in SelectResultSet.java

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.0, 2.4.1
    • Fix Version/s: 2.4.2
    • Component/s: Other
    • Labels:
      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

            Assignee:
            diego dupin Diego Dupin
            Reporter:
            Richard Richard Stracke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: