tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session JDBCStore.java
Date Wed, 17 Apr 2002 17:07:53 GMT
remm        02/04/17 10:07:53

  Modified:    catalina/src/share/org/apache/catalina/session
                        JDBCStore.java
  Log:
  - Fix bug 7170 (invalid SELECT expression).
  - Patch submitted by Peter Rossbach <pr at webapp.de>
    and Seweryn Sobieszek <seweryn.sobieszek at e-point.pl>
  
  Revision  Changes    Path
  1.5       +5 -5      jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session/JDBCStore.java
  
  Index: JDBCStore.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session/JDBCStore.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- JDBCStore.java	22 Jul 2001 20:25:12 -0000	1.4
  +++ JDBCStore.java	17 Apr 2002 17:07:53 -0000	1.5
  @@ -1,8 +1,8 @@
   /*
    * JDBCStore.java
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session/JDBCStore.java,v
1.4 2001/07/22 20:25:12 pier Exp $
  - * $Revision: 1.4 $
  - * $Date: 2001/07/22 20:25:12 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session/JDBCStore.java,v
1.5 2002/04/17 17:07:53 remm Exp $
  + * $Revision: 1.5 $
  + * $Date: 2002/04/17 17:07:53 $
    *
    * ====================================================================
    *
  @@ -93,7 +93,7 @@
    * saved are still subject to being expired based on inactivity.
    *
    * @author Bip Thelin
  - * @version $Revision: 1.4 $, $Date: 2001/07/22 20:25:12 $
  + * @version $Revision: 1.5 $, $Date: 2002/04/17 17:07:53 $
    */
   
   public class JDBCStore
  @@ -388,7 +388,7 @@
        */
       public String[] keys() throws IOException {
           String keysSql =
  -            "SELECT COUNT(s."+sessionIdCol+"), s."+sessionIdCol+
  +            "SELECT COUNT(s."+sessionIdCol+"), c."+sessionIdCol+
               " FROM "+sessionTable+" s, "+sessionTable+" c"+
               " GROUP BY c."+sessionIdCol;
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message