bug #2650776 [import] SQL_MODE not saved during Partial Import

This commit is contained in:
Marc Delisle
2009-04-08 11:47:25 +00:00
parent 1b9d91f33c
commit 2e8bff71ea
58 changed files with 85 additions and 3 deletions

View File

@@ -51,6 +51,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
thanks to Derek Schaefer - drummingds1
- patch #2727250 Optimizations for PHP loops
thanks to Haeber
- bug #2650776 [import] SQL_MODE not saved during Partial Import
3.1.4.0 (not yet released)
+ patch #1808339 [doc] Apache SSLOptions and StdEnvVars FAQ,

View File

@@ -1479,4 +1479,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1478,4 +1478,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1480,4 +1480,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1475,4 +1475,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1454,4 +1454,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1472,4 +1472,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1454,4 +1454,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1462,4 +1462,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1478,4 +1478,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1452,4 +1452,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1475,4 +1475,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1452,4 +1452,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1461,4 +1461,5 @@ $strZip = 'zip 压缩';
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1459,4 +1459,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1456,4 +1456,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1460,4 +1460,5 @@ $strStatic = 'static'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1454,4 +1454,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1461,4 +1461,5 @@ $strGetMoreThemes = 'Bekijk meer thema\'s!';
$strNoneDefault = 'Geen';
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -255,6 +255,7 @@ $strDisplayPDF = 'Display PDF schema';
$strDoAQuery = 'Do a "query by example" (wildcard: "%")';
$strDocSQL = 'DocSQL';
$strDocu = 'Documentation';
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values';
$strDownloadFile = 'Download file';
$strDoYouReally = 'Do you really want to ';
$strDropDatabaseStrongWarning = 'You are about to DESTROY a complete database!';

View File

@@ -1460,4 +1460,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1455,4 +1455,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1451,4 +1451,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1453,4 +1453,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1459,4 +1459,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1473,4 +1473,5 @@ $strViewHasAtLeast = 'This view has at least this number of rows. Please refer t
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1477,4 +1477,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1472,4 +1472,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1480,4 +1480,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1457,4 +1457,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1470,4 +1470,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1459,4 +1459,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1460,4 +1460,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1475,4 +1475,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1477,4 +1477,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1469,4 +1469,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1455,4 +1455,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1492,4 +1492,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1475,4 +1475,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1452,4 +1452,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1506,4 +1506,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1448,4 +1448,5 @@ $strGetMoreThemes = 'Pobierz więcej motywów!';
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1481,4 +1481,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1461,4 +1461,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1465,4 +1465,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1454,4 +1454,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1454,4 +1454,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1457,4 +1457,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1455,4 +1455,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1474,4 +1474,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1452,4 +1452,5 @@ $strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by th
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strSessionGCWarning = 'Your PHP parameter [a@http://php.net/manual/en/session.configuration.php#ini.session.gc-maxlifetime@]session.gc_maxlifetime[/a] is lower that cookie validity configured in phpMyAdmin, because of this, your login will expire sooner than configured in phpMyAdmin.'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1452,4 +1452,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1465,4 +1465,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1476,4 +1476,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1458,4 +1458,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1474,4 +1474,5 @@ $strGetMoreThemes = 'Get more themes!'; //to translate
$strNoneDefault = 'None'; //to translate
$strConfigDirectoryWarning = 'Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'; //to translate
$strEscapeCRLF = 'Remove CRLF characters within fields'; //to translate
$strDoNotAutoIncrementZeroValues = 'Do not use AUTO_INCREMENT for zero values'; //to translate
?>

View File

@@ -1609,6 +1609,13 @@ $cfg['Import']['skip_queries'] = '0';
*/
$cfg['Import']['sql_compatibility'] = 'NONE';
/**
*
*
* @global string $cfg['Import']['sql_no_auto_value_on_zero']
*/
$cfg['Import']['sql_no_auto_value_on_zero'] = true;
/**
*
*

View File

@@ -36,6 +36,17 @@ if (isset($plugin_list)) {
'Server_SQL_mode',
),
),
array(
'type' => 'bool',
'name' => 'no_auto_value_on_zero',
'text' => 'strDoNotAutoIncrementZeroValues',
'doc' => array(
'manual_MySQL_Database_Administration',
'Server_SQL_mode',
'sqlmode_no_auto_value_on_zero'
),
),
);
}
@@ -57,10 +68,18 @@ if (isset($_POST['sql_delimiter'])) {
$sql_delimiter = ';';
}
// Handle compatibility option
if (isset($_REQUEST['sql_compatibility'])) {
PMA_DBI_try_query('SET SQL_MODE="' . $_REQUEST['sql_compatibility'] . '"');
// Handle compatibility options
$sql_modes = array();
if (isset($_REQUEST['sql_compatibility']) && 'NONE' != $_REQUEST['sql_compatibility']) {
$sql_modes[] = $_REQUEST['sql_compatibility'];
}
if (isset($_REQUEST['sql_no_auto_value_on_zero'])) {
$sql_modes[] = 'NO_AUTO_VALUE_ON_ZERO';
}
if (count($sql_modes) > 0) {
PMA_DBI_try_query('SET SQL_MODE="' . implode(',', $sql_modes) . '"');
}
unset($sql_modes);
/**
* will be set in PMA_importGetNextChunk()