Class MySQLDataPendingException

This exception is no longer used by mysql-native and will be deprecated (and later removed) in upcoming releases.

class MySQLDataPendingException
  : MySQLException ;

Previously, this was thrown when attempting to communicate with the server (ex: executing SQL or creating a new prepared statement) while the server was still sending results data. Any ResultRange was required to be consumed or purged before anything else was allowed to be done on the connection (as per inherent limitations of the MySQL client-server protocol).

But as of mysql-native v1.1.4 (as discussed in issue #117), this behavior was changed. Any communication with the server now purges any active ResultRange automatically (See also, ResultRange.isValid). As a result, this exception is never thrown anymore.

Constructors

NameDescription
this