[CONJ-701] typo in error message in SelectResultSet.java Created: 2019-05-08  Updated: 2020-08-25  Resolved: 2019-05-29

Status: Closed
Project: MariaDB Connector/J
Component/s: Other
Affects Version/s: 2.4.0, 2.4.1
Fix Version/s: 2.4.2

Type: Task Priority: Minor
Reporter: Richard Stracke Assignee: Diego Dupin
Resolution: Fixed Votes: 0
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


Generated at Thu Feb 08 03:17:40 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.