commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From di...@apache.org
Subject cvs commit: jakarta-commons/dbcp/src/java/org/apache/commons/dbcp/datasources InstanceKeyDataSource.java
Date Wed, 13 Aug 2003 15:48:27 GMT
dirkv       2003/08/13 08:48:27

  Modified:    dbcp/src/java/org/apache/commons/dbcp/datasources
                        InstanceKeyDataSource.java
  Log:
  fix SQLWarning memory leak bug in this DataSource implementation
  
  Revision  Changes    Path
  1.3       +2 -1      jakarta-commons/dbcp/src/java/org/apache/commons/dbcp/datasources/InstanceKeyDataSource.java
  
  Index: InstanceKeyDataSource.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/dbcp/src/java/org/apache/commons/dbcp/datasources/InstanceKeyDataSource.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- InstanceKeyDataSource.java	13 Aug 2003 11:48:23 -0000	1.2
  +++ InstanceKeyDataSource.java	13 Aug 2003 15:48:27 -0000	1.3
  @@ -653,6 +653,7 @@
   
           Connection con = info.getPooledConnection().getConnection();        
           setupDefaults(con, username);
  +        con.clearWarnings();
           return con;
       }
   
  
  
  

Mime
View raw message