Fix some MySQL bugs

Former-commit-id: d149ed15a913bd1117c85db43cea4f331bb11e23 [formerly 6d1c679009376011fade74fd17d7ec0bba64acd8]
Former-commit-id: 73552e30d14c584f00afdf72165340ba83c67fcc
This commit is contained in:
Ghost_chu committed 2019-05-28 18:59:35 +08:00
1 parent 8d1226f8c8
commit 4e0eaecf72
1 file changed
+1 -2
@@ -63,14 +63,13 @@ public class MySQLCore implements DatabaseCore {
} catch (InterruptedException e) {
}
// Try again
this.getConnection();
con = this.getConnection();
}
PreparedStatement ps = bs.prepareStatement(con);
ps.execute();
ps.close();
} catch (SQLException e) {
e.printStackTrace();
return;
}
}