Cleanup in table moving/copying and allow to keep constraints over these operations.

This commit is contained in:
Michal Čihař
2003-11-20 13:48:53 +00:00
parent 79222512c6
commit b702e8a4a7
101 changed files with 151 additions and 33 deletions

View File

@@ -9,6 +9,9 @@ $Source$
* read_dump.php: Show message about failing upload in all cases, removed
some PHP compatibility code.
* libraries/export/sql.php: More older PHP cleanup.
* tbl_move_copy.php, tbl_properties_operations.php, lang/*: Cleanup in
table moving/copying and allow to keep constraints over these
operations.
2003-11-20 Garvin Hicking <me@supergarv.de>
* libraries/auth/*, libraries/dbg/*, libraries/export/*

View File

@@ -730,4 +730,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -731,4 +731,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -723,4 +723,5 @@ $strLatexCaption = 'Table caption'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -724,4 +724,5 @@ $strLatexCaption = 'Table caption'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -731,4 +731,5 @@ $strUpgrade = 'You should upgrade to %s %s or later.'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -730,4 +730,5 @@ $strUpgrade = 'You should upgrade to %s %s or later.'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -719,4 +719,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -720,4 +720,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -729,4 +729,5 @@ $strUpgrade = 'You should upgrade to %s %s or later.'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -728,4 +728,5 @@ $strUpgrade = 'You should upgrade to %s %s or later.'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -744,4 +744,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -745,4 +745,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -725,4 +725,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -726,4 +726,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -725,4 +725,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -716,4 +716,5 @@ $strZeroRemovesTheLimit = 'Nota: Establint aquestes opcions a 0 (zero) treu el l
$strZip = '"comprimit amb zip"';
// To translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -717,4 +717,5 @@ $strZeroRemovesTheLimit = 'Nota: Establint aquestes opcions a 0 (zero) treu el l
$strZip = '"comprimit amb zip"';
// To translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -723,4 +723,5 @@ $strYes = ' 是 ';
$strZeroRemovesTheLimit = '註: 設定這些選項為 0 (零) 可解除限制.';
$strZip = '"zipped"';
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -721,4 +721,5 @@ $strYes = '
$strZeroRemovesTheLimit = '<27><>: <20>]<5D>w<EFBFBD>o<EFBFBD>ǿﶵ<C7BF><EFB6B5> 0 (<28>s) <20>i<EFBFBD>Ѱ<EFBFBD><D1B0><EFBFBD><EFBFBD><EFBFBD>.';
$strZip = '"zipped"';
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -722,4 +722,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -721,4 +721,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -743,4 +743,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -744,4 +744,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -743,4 +743,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -30,6 +30,7 @@ $strAccessDenied = 'P
$strAccessDeniedExplanation = 'phpMyAdmin se pokusil p<>ipojit k&nbsp;MySQL serveru, a ten odm<64>tl p<>ipojen<65>. Zkontrolujte jm<6A>no serveru, u<>ivatelsk<73> jm<6A>no a heslo v&nbsp;souboru config.inc.php a ujist<73>te se, <20>e jsou toto<74>n<EFBFBD> s&nbsp;t<>mi co m<>te od administr<74>tora MySQL serveru.';
$strAction = 'Akce';
$strAddAutoIncrement = 'P<>idat hodnotu AUTO_INCREMENT';
$strAddConstraints = 'P<>idat omezen<65>';
$strAddDeleteColumn = 'P<>idat/Smazat sloupec';
$strAddDeleteRow = 'P<>idat/Smazat <20><>dek s&nbsp;podm<64>nkou';
$strAddDropDatabase = 'P<>idat DROP DATABASE';

View File

@@ -31,6 +31,7 @@ $strAccessDenied = 'Přístup odepřen';
$strAccessDeniedExplanation = 'phpMyAdmin se pokusil připojit k&nbsp;MySQL serveru, a ten odmítl připojení. Zkontrolujte jméno serveru, uživatelské jméno a heslo v&nbsp;souboru config.inc.php a ujistěte se, že jsou totožné s&nbsp;těmi co máte od administrátora MySQL serveru.';
$strAction = 'Akce';
$strAddAutoIncrement = 'Přidat hodnotu AUTO_INCREMENT';
$strAddConstraints = 'Přidat omezení';
$strAddDeleteColumn = 'Přidat/Smazat sloupec';
$strAddDeleteRow = 'Přidat/Smazat řádek s&nbsp;podmínkou';
$strAddDropDatabase = 'Přidat DROP DATABASE';

View File

@@ -30,6 +30,7 @@ $strAccessDenied = 'P
$strAccessDeniedExplanation = 'phpMyAdmin se pokusil p<>ipojit k&nbsp;MySQL serveru, a ten odm<64>tl p<>ipojen<65>. Zkontrolujte jm<6A>no serveru, u<>ivatelsk<73> jm<6A>no a heslo v&nbsp;souboru config.inc.php a ujist<73>te se, <20>e jsou toto<74>n<EFBFBD> s&nbsp;t<>mi co m<>te od administr<74>tora MySQL serveru.';
$strAction = 'Akce';
$strAddAutoIncrement = 'P<>idat hodnotu AUTO_INCREMENT';
$strAddConstraints = 'P<>idat omezen<65>';
$strAddDeleteColumn = 'P<>idat/Smazat sloupec';
$strAddDeleteRow = 'P<>idat/Smazat <20><>dek s&nbsp;podm<64>nkou';
$strAddDropDatabase = 'P<>idat DROP DATABASE';

View File

@@ -738,4 +738,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -739,4 +739,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -723,4 +723,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -724,4 +724,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -715,4 +715,5 @@ $strYes = 'Yes';
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.';
$strZip = '"zipped"';
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -716,4 +716,5 @@ $strYes = 'Yes';
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.';
$strZip = '"zipped"';
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -716,4 +716,5 @@ $strZip = '"zipitud"';
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -717,4 +717,5 @@ $strZip = '"zipitud"';
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -740,4 +740,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -741,4 +741,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -717,4 +717,5 @@ $strZeroRemovesTheLimit = 'Note: Une valeur de 0 (zero) enl
$strZip = '"zipp<70>"';
// To translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -718,4 +718,5 @@ $strZeroRemovesTheLimit = 'Note: Une valeur de 0 (zero) enlève la limite.';
$strZip = '"zippé"';
// To translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -722,4 +722,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -723,4 +723,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -744,4 +744,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -724,4 +724,5 @@ $strCreationDates = 'Creation/Update/Check dates'; //to translate
$strCheckOverhead = 'Check overheaded'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -725,4 +725,5 @@ $strCreationDates = 'Creation/Update/Check dates'; //to translate
$strCheckOverhead = 'Check overheaded'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -724,4 +724,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -725,4 +725,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -740,4 +740,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -754,4 +754,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -728,4 +728,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -729,4 +729,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -716,4 +716,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -717,4 +717,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -723,4 +723,5 @@ $strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -724,4 +724,5 @@ $strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -728,4 +728,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -728,4 +728,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -729,4 +729,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -738,4 +738,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -722,4 +722,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -721,4 +721,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -718,4 +718,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -717,4 +717,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -741,4 +741,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -742,4 +742,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -720,4 +720,5 @@ $strZeroRemovesTheLimit = 'Merk: Ved
$strZip = 'Komprimert (zip)';
// To translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -721,4 +721,5 @@ $strZeroRemovesTheLimit = 'Merk: Ved å sette disse til 0 (null) fjerner begrens
$strZip = 'Komprimert (zip)';
// To translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -746,4 +746,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -745,4 +745,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -716,4 +716,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -717,4 +717,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -743,4 +743,5 @@ $strWritingRelationNotPossible = 'Writing of relation not possible'; //to trans
$strXML = 'XML';//to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -744,4 +744,5 @@ $strWritingRelationNotPossible = 'Writing of relation not possible'; //to trans
$strXML = 'XML';//to translate
$strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the limit.'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -717,4 +717,5 @@ $strZip = '"arhivat"';
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -718,4 +718,5 @@ $strZip = '"arhivat"';
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -723,4 +723,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -723,4 +723,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -724,4 +724,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -723,4 +723,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -723,4 +723,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -722,4 +722,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -723,4 +723,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -722,4 +722,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -717,4 +717,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -718,4 +718,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -717,4 +717,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -718,4 +718,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -719,4 +719,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -718,4 +718,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -715,4 +715,5 @@ $strYes = 'S
$strZeroRemovesTheLimit = 'Nota: si cambia los par<61>metros de estas opciones a 0 (cero), remueve el l<>mite.';
$strZip = '"comprimido con zip"';
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -716,4 +716,5 @@ $strYes = 'Sí';
$strZeroRemovesTheLimit = 'Nota: si cambia los parámetros de estas opciones a 0 (cero), remueve el límite.';
$strZip = '"comprimido con zip"';
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -716,4 +716,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -717,4 +717,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -728,4 +728,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -729,4 +729,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -728,4 +728,5 @@ $strYes = 'Evet';
$strZeroRemovesTheLimit = 'Not: Bu se<73>eneklerin 0\'a ayarlanmas<61> s<>n<EFBFBD>r<EFBFBD> kald<6C>r<EFBFBD>r..';
$strZip = '"ziplenmi<6D>"';
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -729,4 +729,5 @@ $strYes = 'Evet';
$strZeroRemovesTheLimit = 'Not: Bu seçeneklerin 0\'a ayarlanması sınırı kaldırır..';
$strZip = '"ziplenmiş"';
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -721,4 +721,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -720,4 +720,5 @@ $strCheckOverhead = 'Check overheaded'; //to translate
$strExcelEdition = 'Excel edition'; //to translate
$strDelayedInserts = 'Use delayed inserts'; //to translate
$strSQLExportType = 'Export type'; //to translate
$strAddConstraints = 'Add constraints'; //to translate
?>

View File

@@ -138,10 +138,6 @@ if (isset($new_name) && trim($new_name) != '') {
(PMA_isInto($db, $dblist) == -1 || PMA_isInto($target_db, $dblist) == -1)) {
exit();
}
if (PMA_MYSQL_INT_VERSION < 32306) {
PMA_checkReservedWords($target_db, $err_url);
PMA_checkReservedWords($new_name, $err_url);
}
if ($db == $target_db && $new_name == $table) {
$message = (isset($submit_move) ? $strMoveTableSameNames : $strCopyTableSameNames);
@@ -155,23 +151,26 @@ if (isset($new_name) && trim($new_name) != '') {
$target = PMA_backquote($target_db) . '.' . PMA_backquote($new_name);
include('./libraries/export/sql.php');
$sql_structure = PMA_getTableDef($db, $table, "\n", $err_url);
$parsed_sql = PMA_SQP_parse($sql_structure);
/* nijel: Find table name in query and replace it */
$i = 0;
while ($parsed_sql[$i]['type'] != 'quote_backtick') $i++;
/* no need to PMA_backquote() */
$parsed_sql[$i]['data'] = $target;
/* Generate query back */
$sql_structure = PMA_SQP_formatHtml($parsed_sql, 'query_only');
// do not create the table if dataonly
if ($what != 'dataonly') {
include('./libraries/export/sql.php');
$no_constraints_comments = true;
$sql_structure = PMA_getTableDef($db, $table, "\n", $err_url);
unset($no_constraints_comments);
$parsed_sql = PMA_SQP_parse($sql_structure);
/* nijel: Find table name in query and replace it */
$i = 0;
while ($parsed_sql[$i]['type'] != 'quote_backtick') $i++;
/* no need to PMA_backquote() */
$parsed_sql[$i]['data'] = $target;
/* Generate query back */
$sql_structure = PMA_SQP_formatHtml($parsed_sql, 'query_only');
// If table exists, and 'add drop table' is selected: Drop it!
$drop_query = '';
if (isset($drop_if_exists) && $drop_if_exists == 'true') {
@@ -202,26 +201,42 @@ if (isset($new_name) && trim($new_name) != '') {
} else {
$sql_query = $sql_structure . ';';
}
if ((isset($submit_move) || isset($constraints)) && isset($sql_constraints)) {
$parsed_sql = PMA_SQP_parse($sql_constraints);
$i = 0;
while ($parsed_sql[$i]['type'] != 'quote_backtick') $i++;
/* no need to PMA_backquote() */
$parsed_sql[$i]['data'] = $target;
/* Generate query back */
$sql_constraints = PMA_SQP_formatHtml($parsed_sql, 'query_only');
$result = @PMA_mysql_query($sql_constraints);
if (PMA_mysql_error()) {
include('./header.inc.php');
PMA_mysqlDie('', $sql_structure, '', $err_url);
} else if (isset($sql_query)) {
$sql_query .= "\n" . $sql_constraints;
} else {
$sql_query = $sql_constrtaints;
}
}
} else {
$sql_query='';
}
// Copy the data
if ($result != FALSE && ($what == 'data' || $what == 'dataonly')) {
// speedup copy table - staybyte - 22. Juni 2001
if (PMA_MYSQL_INT_VERSION >= 32300) {
$sql_insert_data = 'INSERT INTO ' . $target . ' SELECT * FROM ' . $source;
$result = @PMA_mysql_query($sql_insert_data);
if (PMA_mysql_error()) {
include('./header.inc.php');
PMA_mysqlDie('', $sql_insert_data, '', $err_url);
}
} // end MySQL >= 3.23
else {
$sql_insert_data = '';
PMA_getTableContent($db, $table, 0, 0, 'PMA_myHandler', $err_url,'');
} // end MySQL < 3.23
$sql_query .= "\n\n" . $sql_insert_data;
$sql_insert_data = 'INSERT INTO ' . $target . ' SELECT * FROM ' . $source;
$result = @PMA_mysql_query($sql_insert_data);
if (PMA_mysql_error()) {
include('./header.inc.php');
PMA_mysqlDie('', $sql_insert_data, '', $err_url);
}
$sql_query .= "\n\n" . $sql_insert_data . ';';
}
include('./libraries/relation.lib.php');

Some files were not shown because too many files have changed in this diff Show More