bug #1030644 importing when last table exported was empty

This commit is contained in:
Marc Delisle
2004-09-20 17:47:40 +00:00
parent 0b851a1b30
commit 8b4513e16a
3 changed files with 15 additions and 6 deletions

View File

@@ -18,7 +18,9 @@
*/
function PMA_splitSqlFile(&$ret, $sql, $release)
{
$sql = trim($sql);
// do not trim, see bug #1030644
//$sql = trim($sql);
$sql = rtrim($sql, "\n\r");
$sql_len = strlen($sql);
$char = '';
$string_start = '';