Skip to content

Commit 35ebd48

Browse files
authored
Merge pull request #38 from riggzh/main
compatible with OceanBase Connector/J 2.4.9
2 parents 04b08a6 + 4a5b702 commit 35ebd48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flyway-database-oceanbase/src/main/java/org/flywaydb/community/database/oceanbase/OceanBaseDatabaseType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public String getBackupDriverClass(String url, ClassLoader classLoader) {
7373

7474
@Override
7575
public boolean handlesDatabaseProductNameAndVersion(String databaseProductName, String databaseProductVersion, Connection connection) {
76-
if (!databaseProductName.contains("MySQL")) {
76+
if (!databaseProductName.contains("MySQL") && !databaseProductName.contains("OceanBase")) {
7777
return false;
7878
}
7979

0 commit comments

Comments
 (0)