change
This commit is contained in:
parent
34a8cbb4cc
commit
4292121dea
|
@ -175,11 +175,10 @@ public class StatementTest {
|
||||||
@AfterClass
|
@AfterClass
|
||||||
public static void close() throws Exception {
|
public static void close() throws Exception {
|
||||||
if (!statement.isClosed()) {
|
if (!statement.isClosed()) {
|
||||||
statement.executeUpdate("drop database " + dbName);
|
statement.executeUpdate("drop database if exists " + dbName);
|
||||||
statement.close();
|
statement.close();
|
||||||
connection.close();
|
connection.close();
|
||||||
Thread.sleep(10);
|
Thread.sleep(10);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue