jamf / go-mysqldump

Create SQL dumps in Go without external dependencies
MIT License
18 stars 24 forks source link

Now stream INSERT statements. #3

Closed BrandonRoehl closed 5 years ago

BrandonRoehl commented 5 years ago

We try to dump a mysql's default packet size per insert statement if we exceed that we just make larger statements. This then allows us to restore tables that are larger than MySQL's max_packet_size