fix: pull#1895
@@ -27,7 +27,6 @@ public class Oracle12cDialect implements IDialect {
@Override
public DialectModel buildPaginationSql(String originalSql, long offset, long limit) {
- limit = (offset >= 1) ? (offset + limit) : limit;
String sql = originalSql + " OFFSET " + FIRST_MARK + " ROWS FETCH NEXT " + SECOND_MARK + " ROWS ONLY ";
return new DialectModel(sql, offset, limit).setConsumerChain();
}
