This commit is contained in:
Alexander M. Turek
2003-07-06 21:45:04 +00:00
parent 8c41f24565
commit 2431ab4a9b
2 changed files with 14 additions and 13 deletions

View File

@@ -11,6 +11,7 @@ $Source$
2003-07-06 Alexander M. Turek <rabus@users.sourceforge.net>
* lang/german-*.inc.php3: Updates.
* libraries/export/sql.php3: Fixed bug #761956 (timestamp export fails).
2003-07-05 Marc Delisle <lem9@users.sourceforge.net>
* libraries/auth/config.auth.lib.php3, lang/*.php3:

View File

@@ -427,7 +427,7 @@ function PMA_getTableContentFast($db, $table, $crlf, $error_url, $sql_query)
$type = $field_types[$field_set[$j]];
if ($type == 'tinyint' || $type == 'smallint' || $type == 'mediumint' || $type == 'int' ||
$type == 'bigint' ||$type == 'timestamp') {
$type == 'bigint' || (PMA_MYSQL_INT_VERSION < 40100 && $type == 'timestamp')) {
$field_num[$j] = TRUE;
} else {
$field_num[$j] = FALSE;
@@ -578,7 +578,7 @@ function PMA_getTableContentOld($db, $table, $crlf, $error_url, $sql_query)
// a number
if ($type == 'tinyint' || $type == 'smallint' || $type == 'mediumint' || $type == 'int' ||
$type == 'bigint' ||$type == 'timestamp') {
$type == 'bigint' || (PMA_MYSQL_INT_VERSION < 40100 && $type == 'timestamp')) {
$schema_insert .= $row[$j] . ', ';
// blob
} else if (($type == 'blob' || $type == 'mediumblob' || $type == 'longblob' || $type == 'tinyblob') && !empty($row[$j])) {