[Commits] Rev 412: Fix test warning in file:///H:/bzr/mariadb-java-client/

Vladislav Vaintroub wlad at montyprogram.com
Mon Feb 18 16:21:19 EET 2013


At file:///H:/bzr/mariadb-java-client/

------------------------------------------------------------
revno: 412
revision-id: wlad at montyprogram.com-20130218142103-uivurbpjwfnykxvv
parent: wlad at montyprogram.com-20130218142040-5fxdqk654g1bhhx1
committer: Vladislav Vaintroub <wlad at montyprogram.com>
branch nick: mariadb-java-client
timestamp: Mon 2013-02-18 15:21:03 +0100
message:
  Fix test warning
-------------- next part --------------
=== modified file 'src/test/java/org/mariadb/jdbc/DriverTest.java'
--- a/src/test/java/org/mariadb/jdbc/DriverTest.java	2013-02-14 21:32:33 +0000
+++ b/src/test/java/org/mariadb/jdbc/DriverTest.java	2013-02-18 14:21:03 +0000
@@ -1527,7 +1527,6 @@ public class DriverTest extends BaseTest
     public void conj25() throws Exception {
         String dsn = "jdbc:mysql://localhost:3306/test?user=root";
         Statement stmt;
-        ResultSet rs;
         Connection conn = DriverManager.getConnection(dsn);
         stmt = conn.createStatement();
         stmt.execute("DROP TABLE IF EXISTS t1");
@@ -1538,7 +1537,7 @@ public class DriverTest extends BaseTest
         }
         stmt.setFetchSize(Integer.MIN_VALUE);
         stmt.execute(st);
-        rs = stmt.executeQuery("SELECT * FROM t1 a, t1 b");
+        stmt.executeQuery("SELECT * FROM t1 a, t1 b");
         conn.close();  
 
     }



More information about the commits mailing list