mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 12:31:59 -08:00
Updated libraries to latest versions and code compatibility fixes;
This commit is contained in:
parent
971a98061d
commit
8cf681dff2
13 changed files with 106 additions and 83 deletions
|
|
@ -506,7 +506,7 @@ public enum CardRepository {
|
|||
public void closeDB() {
|
||||
try {
|
||||
if (cardDao != null && cardDao.getConnectionSource() != null) {
|
||||
DatabaseConnection conn = cardDao.getConnectionSource().getReadWriteConnection();
|
||||
DatabaseConnection conn = cardDao.getConnectionSource().getReadWriteConnection(cardDao.getTableName());
|
||||
conn.executeStatement("shutdown compact", 0);
|
||||
}
|
||||
} catch (SQLException ex) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue