You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by bu...@apache.org on 2001/06/09 08:06:08 UTC

[Bug 1735] - LIMIT clause is missed in MySQL query

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1735

*** shadow/1735	Sun May 20 17:27:20 2001
--- shadow/1735.tmp.22592	Fri Jun  8 23:06:08 2001
***************
*** 1,19 ****
! Bug#: 1735
! Product: Turbine
! Version: 2.1b1
! Platform: PC
! OS/Version: Linux
! Status: NEW   
! Resolution: 
! Severity: Major
! Priority: High
! Component: Source
! AssignedTo: turbine-dev@jakarta.apache.org                            
! ReportedBy: brian@kldp.org               
! URL: 
! Cc: 
! Summary: LIMIT clause is missed in MySQL query
! 
  When I called criteria.setOffset() & criteria.setLimit() method in
  Index.java in generated turbine app,
  I found a bug that LIMIT clause is missed in MySQL query.
--- 1,19 ----
! +============================================================================+
! | LIMIT clause is missed in MySQL query                                      |
! +----------------------------------------------------------------------------+
! |        Bug #: 1735                        Product: Turbine                 |
! |       Status: NEW                         Version: 2.1b1                   |
! |   Resolution:                            Platform: PC                      |
! |     Severity: Major                    OS/Version: Linux                   |
! |     Priority: High                      Component: Source                  |
! +----------------------------------------------------------------------------+
! |  Assigned To: turbine-dev@jakarta.apache.org                               |
! |  Reported By: brian@kldp.org                                               |
! |      CC list: Cc:                                                          |
! +----------------------------------------------------------------------------+
! |          URL:                                                              |
! +============================================================================+
! |                              DESCRIPTION                                   |
  When I called criteria.setOffset() & criteria.setLimit() method in
  Index.java in generated turbine app,
  I found a bug that LIMIT clause is missed in MySQL query.
***************
*** 44,46 ****
--- 44,50 ----
  mysql  Ver 9.38 Distrib 3.22.32, for pc-linux-gnu (i686)
  $ uname -a
  Linux archon 2.2.14-5.0 #1 Tue Mar 7 21:07:39 EST 2000 i686 unknown
+ 
+ ------- Additional Comments From brian@kldp.org  2001-06-08 23:06 -------
+ After calling Criteria.toString(), Criteria.offset is set as -1
+ and Criteria.limit is set as 0

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org