ripienaar/mysql-dump-split — pull request #5 by igreg (2012-08-08 16:12:54+00:00)
Title: Fix several bugs

Put query to set replication into 1replication.sql
Put queries to create databases into dbname_1create.sql
Prevent script from re-writting SQL files when mysql-dump contains both table and insert statements
Switch to correct database in every split file before inserting data

Note: sorry I switched to a 2 spaces indentation which tends to be common in Ruby script and forgot to change it back.