HSAdmin Backend Domains, E-Mail, Datenbanken
peter
2013-05-26 ae9911808f7c5e0a74a46c619ecff59aab573f73
no error on missing mysql database
1 files modified
2 ■■■ changed files
hsarback/src/de/hsadmin/mods/db/MySqlDatabaseProcessorFactory.java 2 ●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/mods/db/MySqlDatabaseProcessorFactory.java
@@ -56,7 +56,7 @@
        String aName = AbstractEntity.escapeString(db.getName());
        String aOwner = AbstractEntity.escapeString(db.getOwner());
        aJDBCP.addSQL("REVOKE ALL ON " + aName + ".* FROM '" + aOwner + "'@'%'");
        aJDBCP.addSQL("DROP DATABASE " + aName);
        aJDBCP.addSQL("DROP DATABASE IF EXISTS " + aName);
        return aJDBCP;
    }
}