Hi. I am review the code of the ESQL and a have a little change to the code:

In the source file AbstractEsqlQuery.java the original at line 207:

    public void getResultRows() throws SQLException {
        if (skipRows > 0) {
            while (resultSet.next()) {
                position++;
                if (position >= skipRows) {
                    break;
                }
            }
        }
    }

to:

    public void getResultRows() throws SQLException {
        if (skipRows > 0) {
            resultSet.absolute(skipRows + 1);
            position += skipRows;
        }
    }

I think this second function must run faster than the old one.


Antonio Gallardo




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to