Skip to content

Commit 91408c9

Browse files
committed
trim breaks sql that spawns several lins, removed. Closes #282
1 parent 77d9d99 commit 91408c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Ifsnop/Mysqldump/Mysqldump.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ public function restore($path)
299299

300300
$buffer = '';
301301
while ( !feof($handle) ) {
302-
$line = trim(fgets($handle));
302+
$line = fgets($handle);
303303

304304
if (substr($line, 0, 2) == '--' || !$line) {
305305
continue; // skip comments

0 commit comments

Comments
 (0)