~maria-captains/mariadb-java-client/trunk

« back to all changes in this revision

Viewing changes to src/test/java/org/mariadb/jdbc/DriverTest.java

  • Committer: Vladislav Vaintroub
  • Date: 2013-02-18 14:21:03 UTC
  • Revision ID: wlad@montyprogram.com-20130218142103-uivurbpjwfnykxvv
Fix test warning

Show diffs side-by-side

added added

removed removed

Lines of Context:
1527
1527
    public void conj25() throws Exception {
1528
1528
        String dsn = "jdbc:mysql://localhost:3306/test?user=root";
1529
1529
        Statement stmt;
1530
 
        ResultSet rs;
1531
1530
        Connection conn = DriverManager.getConnection(dsn);
1532
1531
        stmt = conn.createStatement();
1533
1532
        stmt.execute("DROP TABLE IF EXISTS t1");
1538
1537
        }
1539
1538
        stmt.setFetchSize(Integer.MIN_VALUE);
1540
1539
        stmt.execute(st);
1541
 
        rs = stmt.executeQuery("SELECT * FROM t1 a, t1 b");
 
1540
        stmt.executeQuery("SELECT * FROM t1 a, t1 b");
1542
1541
        conn.close();  
1543
1542
 
1544
1543
    }