~massimo-siani/mariadb-java-client/CONJ-86

« back to all changes in this revision

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

  • Committer: Vladislav Vaintroub
  • Date: 2013-11-20 07:49:58 UTC
  • Revision ID: wlad@montyprogram.com-20131120074958-c8vwyt9fblbl2uyk
fix more test suite errors

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
    }
46
46
 
47
47
    private void createTablet1(Statement stmt) throws SQLException {
48
 
        try { stmt.execute("drop table t1"); } catch (Exception e) {}
 
48
        stmt.execute("drop table if exists t1");
49
49
        stmt.execute("create table t1 (id int not null primary key auto_increment, test varchar(20))");
50
50
    }
51
51