Ver código fonte

SONAR-10416 Fix incorrect usage of Database

tags/7.5
Eric Hartmann 6 anos atrás
pai
commit
079b3642a0

+ 1
- 4
server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v72/PurgeOrphansForCE.java Ver arquivo

@@ -25,16 +25,13 @@ import org.sonar.server.platform.db.migration.step.DataChange;

public class PurgeOrphansForCE extends DataChange {

private final Database db;

public PurgeOrphansForCE(Database db) {
super(db);
this.db = db;
}

@Override
public void execute(Context context) throws SQLException {
switch (db.getDialect().getId()) {
switch (getDialect().getId()) {
case "mssql":
case "mysql":
executeForMySQLAndMsSQL(context);

Carregando…
Cancelar
Salvar