Don't trim resulting line (bug #782483).
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2003-08-12 Michal Cihar <nijel@users.sourceforge.net>
|
||||||
|
* libraries/export/csv.php3: Don't trim resulting line (bug #782483).
|
||||||
|
|
||||||
2003-08-11 Michal Cihar <nijel@users.sourceforge.net>
|
2003-08-11 Michal Cihar <nijel@users.sourceforge.net>
|
||||||
* libraries/export/csv.php3, libraries/export/latex.php3,
|
* libraries/export/csv.php3, libraries/export/latex.php3,
|
||||||
libraries/export/xml.php3: Added some stripslashes to generate correct
|
libraries/export/xml.php3: Added some stripslashes to generate correct
|
||||||
|
@@ -134,7 +134,6 @@ function PMA_exportData($db, $table, $crlf, $error_url, $sql_query) {
|
|||||||
} // end if
|
} // end if
|
||||||
|
|
||||||
// Format the data
|
// Format the data
|
||||||
$i = 0;
|
|
||||||
while ($row = PMA_mysql_fetch_row($result)) {
|
while ($row = PMA_mysql_fetch_row($result)) {
|
||||||
$schema_insert = '';
|
$schema_insert = '';
|
||||||
for ($j = 0; $j < $fields_cnt; $j++) {
|
for ($j = 0; $j < $fields_cnt; $j++) {
|
||||||
@@ -162,9 +161,7 @@ function PMA_exportData($db, $table, $crlf, $error_url, $sql_query) {
|
|||||||
$schema_insert .= $separator;
|
$schema_insert .= $separator;
|
||||||
}
|
}
|
||||||
} // end for
|
} // end for
|
||||||
$schema_insert =trim($schema_insert);
|
|
||||||
if (!PMA_exportOutputHandler($schema_insert . $add_character)) return FALSE;
|
if (!PMA_exportOutputHandler($schema_insert . $add_character)) return FALSE;
|
||||||
$i++;
|
|
||||||
} // end while
|
} // end while
|
||||||
mysql_free_result($result);
|
mysql_free_result($result);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user