Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: remove extra semicolon (#6610)

rebelice4b8be919d54f
diff --git a/backend/plugin/db/mysql/dump.go b/backend/plugin/db/mysql/dump.go
index 242df2fc8e..804d13c0f6 100644
--- a/backend/plugin/db/mysql/dump.go
+++ b/backend/plugin/db/mysql/dump.go
@@ -537,7 +537,7 @@ func getTableStmt(txn *sql.Tx, dbType db.Type, dbName, tblName, tblType string)
return "", err
}
if dbType == db.OceanBase {
- stmt = trimAfterLastParenthesis(stmt) + ";\n"
+ stmt = trimAfterLastParenthesis(stmt)
}
return fmt.Sprintf(tableStmtFmt, tblName, stmt), nil
case viewTableType: