diff --git a/ChangeLog b/ChangeLog index ddeee14a6..f039ce0b6 100755 --- a/ChangeLog +++ b/ChangeLog @@ -13,6 +13,8 @@ $Source$ * tbl_properties_export.php: In case we don't need to reconstruct complete query just drop LIMIT part (workaround for bug #955175 and should fix bug #990724). + * libraries/export/sql.php: Fix export of '0' strings (bug #990398). + 2004-07-15 Marc Delisle * tbl_change.php: bug 990959, undefined index for DATETIME diff --git a/libraries/export/sql.php b/libraries/export/sql.php index 9886317f7..b77ab12d0 100644 --- a/libraries/export/sql.php +++ b/libraries/export/sql.php @@ -566,9 +566,6 @@ function PMA_exportData($db, $table, $crlf, $error_url, $sql_query) // a number } elseif ($fields_meta[$j]->numeric) { $values[] = $row[$j]; - // empty string - } elseif (empty($row[$j])) { - $values[] = '\'\''; // a binary field } else if (stristr($field_flags[$j], 'BINARY') && isset($GLOBALS['hexforbinary'])) { $values[] = '0x' . bin2hex($row[$j]);