Fix export of '0' strings (bug #990398).
This commit is contained in:
@@ -13,6 +13,8 @@ $Source$
|
|||||||
* tbl_properties_export.php: In case we don't need to reconstruct complete
|
* 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
|
query just drop LIMIT part (workaround for bug #955175 and should fix
|
||||||
bug #990724).
|
bug #990724).
|
||||||
|
* libraries/export/sql.php: Fix export of '0' strings (bug #990398).
|
||||||
|
|
||||||
|
|
||||||
2004-07-15 Marc Delisle <lem9@users.sourceforge.net>
|
2004-07-15 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* tbl_change.php: bug 990959, undefined index for DATETIME
|
* tbl_change.php: bug 990959, undefined index for DATETIME
|
||||||
|
@@ -566,9 +566,6 @@ function PMA_exportData($db, $table, $crlf, $error_url, $sql_query)
|
|||||||
// a number
|
// a number
|
||||||
} elseif ($fields_meta[$j]->numeric) {
|
} elseif ($fields_meta[$j]->numeric) {
|
||||||
$values[] = $row[$j];
|
$values[] = $row[$j];
|
||||||
// empty string
|
|
||||||
} elseif (empty($row[$j])) {
|
|
||||||
$values[] = '\'\'';
|
|
||||||
// a binary field
|
// a binary field
|
||||||
} else if (stristr($field_flags[$j], 'BINARY') && isset($GLOBALS['hexforbinary'])) {
|
} else if (stristr($field_flags[$j], 'BINARY') && isset($GLOBALS['hexforbinary'])) {
|
||||||
$values[] = '0x' . bin2hex($row[$j]);
|
$values[] = '0x' . bin2hex($row[$j]);
|
||||||
|
Reference in New Issue
Block a user