Object execute(String sql, Object[] params, int maxRows) {
Object ret = flashDatabase.execute(sql, params, maxRows);
if ((ret != null) && (ret instanceof QueryResultSet)) {
QueryResultSet qrs = (QueryResultSet) ret;
ResultSetNextPart rsContinue = null;
if ((maxRows < 0) && qrs.isResultHasContinueData()) {
rsContinue = new ResultSetNextPart(flashDatabase, sql, params, -maxRows);
}
return new JdbcResultSet((QueryResultSet)ret, rsContinue);
}
return ret;
}