Skip to content

Commit

Permalink
0004035: Firebird 3 gets wrong dialect, errors on sym_escape
Browse files Browse the repository at this point in the history
  • Loading branch information
erilong committed Jul 5, 2019
1 parent 08fb77d commit 1fe5b42
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -147,7 +147,7 @@ public ISymmetricDialect create() {
int dbMinorVersion = platform.getSqlTemplate().getDatabaseMinorVersion();
if (dbMajorVersion == 2 && dbMinorVersion == 0) {
dialect = new Firebird20SymmetricDialect(parameterService, platform);
} else if (dbMajorVersion == 2) {
} else if (dbMajorVersion >= 2) {
dialect = new Firebird21SymmetricDialect(parameterService, platform);
} else {
dialect = new FirebirdSymmetricDialect(parameterService, platform);
Expand Down

0 comments on commit 1fe5b42

Please sign in to comment.