henning 2004/10/23 03:55:07 Modified: src/java/org/apache/torque/util Tag: TORQUE_3_1_BRANCH LimitHelper.java xdocs Tag: TORQUE_3_1_BRANCH changes.xml Log: Duh! Fix a typo swapping offset and limit for DB2 and Oracle. Revision Changes Path No revision No revision 1.1.2.3 +3 -3 db-torque/src/java/org/apache/torque/util/Attic/LimitHelper.java Index: LimitHelper.java =================================================================== RCS file: /home/cvs/db-torque/src/java/org/apache/torque/util/Attic/LimitHelper.java,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -u -r1.1.2.2 -r1.1.2.3 --- LimitHelper.java 22 Oct 2004 10:17:33 -0000 1.1.2.2 +++ LimitHelper.java 23 Oct 2004 10:55:06 -0000 1.1.2.3 @@ -162,7 +162,7 @@ * @param limit the limit Value */ private static final void generateOracleLimits(Query query, - int limit, int offset) + int offset, int limit) { StringBuffer preLimit = new StringBuffer() .append("SELECT B.* FROM ( ") @@ -212,7 +212,7 @@ * @param limit the limit Value */ private static final void generateDB2Limits(Query query, - int limit, int offset) + int offset, int limit) { StringBuffer preLimit = new StringBuffer() .append("SELECT B.* FROM ( ") No revision No revision 1.140.2.16 +3 -0 db-torque/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /home/cvs/db-torque/xdocs/changes.xml,v retrieving revision 1.140.2.15 retrieving revision 1.140.2.16 diff -u -r1.140.2.15 -r1.140.2.16 --- changes.xml 22 Oct 2004 10:17:33 -0000 1.140.2.15 +++ changes.xml 23 Oct 2004 10:55:07 -0000 1.140.2.16 @@ -67,6 +67,9 @@ Fix a typo in the reworked Limit / Offset Code for Oracle and DB2. Confused pre and post. </action> + <action type="update" dev="henning" issue="TRQS240"> + Fix offset and limit swap for DB2 and Oracle. + </action> </release> <release version="3.1.1-RC3" date="2004-10-16"> <action type="update" dev="henning">
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]