Closed dubbs closed 12 years ago
Thanks for the patch!
What about Windows boxes that use \r\n though?
Perhaps we should replace the explode with preg_split ?
$queries = preg_split( "/;\r?\n/", $contents );
That could cover both possibilities, leaving aside the DELIMITER command for now :-)
Good catch, updated accordingly.
Thanks!
This split will fail if migration has ';' within statement. Eg.
INSERT INTO
x
VALUES ('>');