diff --git a/ChangeLog b/ChangeLog index f3a4a87b1..14a925664 100644 --- a/ChangeLog +++ b/ChangeLog @@ -76,7 +76,6 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA - bug #2724844 Add Fields: Add index is missing quotes thanks to Luke Armstrong - bug #2740550 [interface] Using textarea CharEditing drops default values -- bug #2634827 [import] Using DELIMITER ends with infinite cycle - bug #2729191 [config] CheckConfigurationPermissions = false is worthless - bug #2687046 [export] Structure export: Null always YES - [doc] typos, thanks to Cédric Corazza diff --git a/libraries/import/sql.php b/libraries/import/sql.php index 0dc2a8f6a..596d47ce5 100644 --- a/libraries/import/sql.php +++ b/libraries/import/sql.php @@ -109,11 +109,6 @@ while (!($GLOBALS['finished'] && $i >= $len) && !$error && !$timeout_passed) { // Current length of our buffer $len = strlen($buffer); - // Avoid endless loop in case of missing last newline - if ($GLOBALS['finished'] && $buffer[$len - 1] != "\n") { - $buffer .= "\n"; - } - // Grab some SQL queries out of it while ($i < $len) { $found_delimiter = false;