presto-mysql/src/main/java/io/prestosql/plugin/mysql/MySqlClient.java/MySqlClient/getPreparedStatement
class MySqlClient:    @Override
    public PreparedStatement getPreparedStatement(Connection connection, String sql)
            throws SQLException
    {
        PreparedStatement statement = connection.prepareStatement(sql);
        if (statement.isWrapperFor(Statement.class)) {
            statement.unwrap(Statement.class).enableStreamingResults();
        }
        return statement;
    }