no error on missing mysql database
This commit is contained in:
parent
3b01d27a1d
commit
ae9911808f
@ -56,7 +56,7 @@ public class MySqlDatabaseProcessorFactory implements EntityProcessorFactory {
|
|||||||
String aName = AbstractEntity.escapeString(db.getName());
|
String aName = AbstractEntity.escapeString(db.getName());
|
||||||
String aOwner = AbstractEntity.escapeString(db.getOwner());
|
String aOwner = AbstractEntity.escapeString(db.getOwner());
|
||||||
aJDBCP.addSQL("REVOKE ALL ON " + aName + ".* FROM '" + aOwner + "'@'%'");
|
aJDBCP.addSQL("REVOKE ALL ON " + aName + ".* FROM '" + aOwner + "'@'%'");
|
||||||
aJDBCP.addSQL("DROP DATABASE " + aName);
|
aJDBCP.addSQL("DROP DATABASE IF EXISTS " + aName);
|
||||||
return aJDBCP;
|
return aJDBCP;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user