afrase / mysqldumpsplit

Split a mysqldump into separate files for each table.
MIT License
10 stars 2 forks source link

Is it nessary to add head and tail to every single sql? #1

Closed seua closed 7 years ago

seua commented 7 years ago

Is it nessary to add head and tail to every single sql? I mean the /*!40101 SET @OLD_CHARACTER_SET_xxxxxxxxxxxxxxxxxxxx and so on.

And by the way I built the project and have some try. I think it is very useful.

afrase commented 7 years ago

Probably not but for what I used it for I need to have it or I would get an error about timestamps being incorrect. I could probably pull it out of the input file and add it back instead of hardcoding the values.

afrase commented 7 years ago

Newest release doesn't hard code the header info.