ryancramerdesign / ProcessDatabaseBackups

Create and/or restore database backups.
7 stars 1 forks source link

Wrong syntax for SQL comments cause errors on restore #1

Closed ivangretsky closed 5 years ago

ivangretsky commented 9 years ago

I get errors while manually restoring backups generated by the module. It seems like the 1st and last lines, generated by the module use wrong syntax for MySQL comments. It should be --, not ---.

ryancramerdesign commented 9 years ago

The files are core generated rather than by this module. But I ran into the same issue a couple of weeks ago. A recent update (to the core) switches it to # --- which seems to make it friendly with importing elsewhere. I suppose we could do the -- instead, but was trying to differentiate from a regular MySQL comment as much as possible.