mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
Remove useless commit database command
Former-commit-id: 4eb7a52bb9cc06d8ba50920340c666dd964e1684
This commit is contained in:
1 parent
645952c967
commit
fe52041640
1 file changed
+8
-8
@@ -113,14 +113,14 @@ public class DatabaseManager {
|
||||
+ "ms) to execute the task, it may cause the network connection with MySQL server or just MySQL server too slow, change to a better MySQL server or switch to a local SQLite database!");
|
||||
}
|
||||
}
|
||||
try {
|
||||
this.database.getConnection().commit();
|
||||
} catch (SQLException e) {
|
||||
try {
|
||||
this.database.getConnection().rollback();
|
||||
} catch (SQLException ignored) {
|
||||
}
|
||||
}
|
||||
// try {
|
||||
// this.database.getConnection().commit();
|
||||
// } catch (SQLException e) {
|
||||
// try {
|
||||
// this.database.getConnection().rollback();
|
||||
// } catch (SQLException ignored) {
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user