Skip to content

Commit

Permalink
0002767: Monitoring not working Firebird
Browse files Browse the repository at this point in the history
  • Loading branch information
erilong committed Sep 6, 2016
1 parent 63fb3ba commit 8fb84d1
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -24,7 +24,7 @@

import org.jumpmind.db.model.Database;
import org.jumpmind.db.model.Table;
import org.jumpmind.db.platform.firebird.FirebirdDatabasePlatform;
import org.jumpmind.db.platform.DatabaseNamesConstants;
import org.jumpmind.symmetric.ISymmetricEngine;
import org.jumpmind.symmetric.common.Constants;
import org.jumpmind.symmetric.common.TableConstants;
Expand Down Expand Up @@ -61,7 +61,8 @@ public String beforeUpgrade(ISymmetricDialect symmetricDialect, String tablePref
}
}

if (engine.getDatabasePlatform() instanceof FirebirdDatabasePlatform) {
if (engine.getDatabasePlatform().getName().equals(DatabaseNamesConstants.FIREBIRD) ||
engine.getDatabasePlatform().getName().equals(DatabaseNamesConstants.FIREBIRD_DIALECT1)) {
String contextTableName = tablePrefix + "_" + TableConstants.SYM_CONTEXT;
Table contextTable = currentModel.findTable(contextTableName);
if (contextTable != null && contextTable.findColumn("value") != null) {
Expand Down

0 comments on commit 8fb84d1

Please sign in to comment.