Skip to content

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

fix: test parsing binlog timestamp (#1421)

Yilong Lifcf09012ad8c
diff --git a/plugin/restore/mysql/mysql_test.go b/plugin/restore/mysql/mysql_test.go
index 2de8813bd9..ce453273d7 100644
--- a/plugin/restore/mysql/mysql_test.go
+++ b/plugin/restore/mysql/mysql_test.go
@@ -155,7 +155,7 @@ DELIMITER ;
# End of log file
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50530 SET @@SESSION.PSEUDO_SLAVE_MODE=0*/;`,
- timestamp: time.Date(2022, 4, 21, 14, 49, 26, 0, time.UTC).Unix(),
+ timestamp: time.Date(2022, 4, 21, 14, 49, 26, 0, time.Local).Unix(),
err: false,
},
// Edge case: invalid mysqlbinlog option