Skip to content

Commit

Permalink
Fix | Use master when dropping a database
Browse files Browse the repository at this point in the history
  • Loading branch information
ulvii committed Jun 6, 2018
1 parent 59d43f2 commit 950bf28
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ public void testModifiableConnectionProperties() throws SQLException {
compareValuesAgainstConnection(con, autoCommitMode2, transactionIsolationLevel2, networkTimeout2, holdability2, sendTimeAsDatetime2,
statementPoolingCacheSize2, disableStatementPooling2, serverPreparedStatementDiscardThreshold2,
enablePrepareOnFirstPreparedStatementCall2, sCatalog2);
// drop the database
con.setCatalog("master");
Utils.dropDatabaseIfExists(sCatalog2, con.createStatement());
}
}
Expand Down

0 comments on commit 950bf28

Please sign in to comment.