Commit e12db09
committed
go-mysqldump: Add option to skip binlog position
When running against MariaDB 11.4 without binlogs enabled:
- `mysqldump` 9.1.0 fails to dump when called with `--source-data` due
to the `SHOW BINARY LOG STATUS` not being supported by MariaDB.
- `mariadb-dump` 11.4 fails to dump when called with `--master-data` due
to binlogs not being enabled.
Other situations where this can be useful:
- Permission issues1 parent 5acb569 commit e12db09
1 file changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| 37 | + | |
| 38 | + | |
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
| |||
0 commit comments