forked from External/mage
db: fixed wrong commands
This commit is contained in:
parent
8f7abe2dc5
commit
c31763a2d8
4 changed files with 12 additions and 5 deletions
|
|
@ -117,7 +117,7 @@ public class AuthorizedUserRepository {
|
|||
try {
|
||||
if (usersDao != null && usersDao.getConnectionSource() != null) {
|
||||
DatabaseConnection conn = usersDao.getConnectionSource().getReadWriteConnection(usersDao.getTableName());
|
||||
conn.executeStatement("SHUTDOWN IMMEDIATELY", 0);
|
||||
conn.executeStatement("SHUTDOWN IMMEDIATELY", DatabaseConnection.DEFAULT_RESULT_FLAGS);
|
||||
usersDao.getConnectionSource().releaseConnection(conn);
|
||||
}
|
||||
} catch (SQLException ex) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue