New line before values (RFE #1435919).

This commit is contained in:
Michal Čihař
2006-02-21 17:37:35 +00:00
parent 6c877664af
commit 3ffb7e775e
2 changed files with 7 additions and 1 deletions

View File

@@ -561,7 +561,12 @@ function PMA_exportData($db, $table, $crlf, $error_url, $sql_query)
$replace = array('\0', '\n', '\r', '\Z');
$current_row = 0;
$query_size = 0;
$separator = isset($GLOBALS['extended_ins']) ? ',' : ';';
if (isset($GLOBALS['extended_ins'])) {
$separator = ',';
$schema_insert .= $crlf;
} else {
$separator = ';';
}
while ($row = PMA_DBI_fetch_row($result)) {
$current_row++;