public void prolog ( long maxRows , boolean hasProxy , MariaDbConnection connection , MariaDbStatement statement ) throws SQLException { if ( explicitClosed ) { throw new SQLException ( "execute() is called on closed connection" ) ; } //old failover handling if ( ! hasProxy && shouldReconnectWithoutProxy ( ) ) { try { connectWithoutProxy ( ) ; } catch ( SQLException qe ) { ExceptionMapper . throwException ( qe , connection , statement ) ; } } try { setMaxRows ( maxRows ) ; } catch ( SQLException qe ) { ExceptionMapper . throwException ( qe , connection , statement ) ; } connection . reenableWarnings ( ) ; }
Preparation before command .