Use just \n for SQL exports (bug #1042521).

This commit is contained in:
Michal Čihař
2004-10-19 11:58:05 +00:00
parent da60381d6c
commit fcdfa25a14
2 changed files with 17 additions and 10 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$
$Source$
2004-10-19 Michal Čihař <michal@cihar.com>
* export.php: Use just \n for SQL exports (bug #1042521).
2004-10-17 Marc Delisle <lem9@users.sourceforge.net>
* lang/turkish update, thanks to boralioglu.
* lang/estonian: Update thanks to Alvar Soome - finsoft.

View File

@@ -143,8 +143,12 @@ if (empty($asfile)) {
$asfile = TRUE;
}
// Defines the default <CR><LF> format
$crlf = PMA_whichCrlf();
// Defines the default <CR><LF> format. For SQL always use \n as MySQL wants this on all platforms.
if ($what == 'sql') {
$crlf = "\n";
} else {
$crlf = PMA_whichCrlf();
}
$output_kanji_conversion = function_exists('PMA_kanji_str_conv') && $type != 'xls';