diff --git a/ChangeLog b/ChangeLog
index f51b04cb15..8b5f03b9f4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,7 +7,8 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
3.0.0.0 (not yet released)
+ [navi] new parameter $cfg['LeftDefaultTabTable']
-+ [table] support MySQL 5.1 PARTITION: CREATE TABLE / Table structure
++ [table] support MySQL 5.1 PARTITION: CREATE TABLE / Table structure,
+ partition maintenance
+ [privileges] support for EVENT and TRIGGER
+ [error handler] NEW handle errors to prevent path disclosure and display/collect errors
+ [mysqlnd] do not display $strMysqlLibDiffersServerVersion if the client
diff --git a/lang/afrikaans-utf-8.inc.php b/lang/afrikaans-utf-8.inc.php
index 98fbb37534..72b0398ae4 100644
--- a/lang/afrikaans-utf-8.inc.php
+++ b/lang/afrikaans-utf-8.inc.php
@@ -1057,4 +1057,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/albanian-utf-8.inc.php b/lang/albanian-utf-8.inc.php
index 981fa6d8a7..b86c91d98e 100644
--- a/lang/albanian-utf-8.inc.php
+++ b/lang/albanian-utf-8.inc.php
@@ -1056,4 +1056,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/arabic-utf-8.inc.php b/lang/arabic-utf-8.inc.php
index a8f650d02f..b8f2bec91e 100644
--- a/lang/arabic-utf-8.inc.php
+++ b/lang/arabic-utf-8.inc.php
@@ -1058,4 +1058,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/azerbaijani-utf-8.inc.php b/lang/azerbaijani-utf-8.inc.php
index 9235e4435e..43cdb55f51 100644
--- a/lang/azerbaijani-utf-8.inc.php
+++ b/lang/azerbaijani-utf-8.inc.php
@@ -1053,4 +1053,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/basque-utf-8.inc.php b/lang/basque-utf-8.inc.php
index 393275964a..e363985977 100644
--- a/lang/basque-utf-8.inc.php
+++ b/lang/basque-utf-8.inc.php
@@ -1050,4 +1050,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/belarusian_cyrillic-utf-8.inc.php b/lang/belarusian_cyrillic-utf-8.inc.php
index a660f224e1..132469f2dc 100644
--- a/lang/belarusian_cyrillic-utf-8.inc.php
+++ b/lang/belarusian_cyrillic-utf-8.inc.php
@@ -1033,4 +1033,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/belarusian_latin-utf-8.inc.php b/lang/belarusian_latin-utf-8.inc.php
index 854c4a7830..db65fde782 100644
--- a/lang/belarusian_latin-utf-8.inc.php
+++ b/lang/belarusian_latin-utf-8.inc.php
@@ -1032,4 +1032,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/bosnian-utf-8.inc.php b/lang/bosnian-utf-8.inc.php
index 17c209fe12..f04eeec864 100644
--- a/lang/bosnian-utf-8.inc.php
+++ b/lang/bosnian-utf-8.inc.php
@@ -1056,4 +1056,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/brazilian_portuguese-utf-8.inc.php b/lang/brazilian_portuguese-utf-8.inc.php
index bb49575110..d7965c91a2 100644
--- a/lang/brazilian_portuguese-utf-8.inc.php
+++ b/lang/brazilian_portuguese-utf-8.inc.php
@@ -1030,4 +1030,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/bulgarian-utf-8.inc.php b/lang/bulgarian-utf-8.inc.php
index ee522c1312..1418d8bc06 100644
--- a/lang/bulgarian-utf-8.inc.php
+++ b/lang/bulgarian-utf-8.inc.php
@@ -1053,4 +1053,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/catalan-utf-8.inc.php b/lang/catalan-utf-8.inc.php
index 0468762608..704ef096e3 100644
--- a/lang/catalan-utf-8.inc.php
+++ b/lang/catalan-utf-8.inc.php
@@ -1026,4 +1026,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/chinese_simplified-utf-8.inc.php b/lang/chinese_simplified-utf-8.inc.php
index 5a11daba0c..a252f15b82 100644
--- a/lang/chinese_simplified-utf-8.inc.php
+++ b/lang/chinese_simplified-utf-8.inc.php
@@ -1058,4 +1058,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/chinese_traditional-utf-8.inc.php b/lang/chinese_traditional-utf-8.inc.php
index 844a814953..d3c9a97a2d 100644
--- a/lang/chinese_traditional-utf-8.inc.php
+++ b/lang/chinese_traditional-utf-8.inc.php
@@ -1037,4 +1037,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/croatian-utf-8.inc.php b/lang/croatian-utf-8.inc.php
index 0547a359bd..c172bbb283 100644
--- a/lang/croatian-utf-8.inc.php
+++ b/lang/croatian-utf-8.inc.php
@@ -1031,4 +1031,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/czech-utf-8.inc.php b/lang/czech-utf-8.inc.php
index 4c6a3d34eb..5fccd49d39 100644
--- a/lang/czech-utf-8.inc.php
+++ b/lang/czech-utf-8.inc.php
@@ -1032,4 +1032,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/danish-utf-8.inc.php b/lang/danish-utf-8.inc.php
index ee58c8a4f5..cfa35f834c 100644
--- a/lang/danish-utf-8.inc.php
+++ b/lang/danish-utf-8.inc.php
@@ -1032,4 +1032,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/dutch-utf-8.inc.php b/lang/dutch-utf-8.inc.php
index 510220894c..89f3b9d1de 100644
--- a/lang/dutch-utf-8.inc.php
+++ b/lang/dutch-utf-8.inc.php
@@ -1054,4 +1054,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/english-utf-8.inc.php b/lang/english-utf-8.inc.php
index d6e8093f14..5849dde708 100644
--- a/lang/english-utf-8.inc.php
+++ b/lang/english-utf-8.inc.php
@@ -52,6 +52,7 @@ $strAll = 'All';
$strAllowInterrupt = 'Allow interrupt of import in case script detects it is close to time limit. This might be good way to import large files, however it can break transactions.';
$strAllTableSameWidth = 'display all tables with same width?';
$strAlterOrderBy = 'Alter table order by';
+$strAnalyze = 'Analyze';
$strAnalyzeTable = 'Analyze table';
$strAnd = 'And';
$strAndThen = 'and then';
@@ -132,6 +133,7 @@ $strCharsetOfFile = 'Character set of the file:';
$strCharsetsAndCollations = 'Character Sets and Collations';
$strCharsets = 'Charsets';
$strCheckAll = 'Check All';
+$strCheck = 'Check';
$strCheckOverhead = 'Check tables having overhead';
$strCheckPrivs = 'Check Privileges';
$strCheckPrivsLong = 'Check privileges for database "%s".';
@@ -531,6 +533,7 @@ $strOpenDocumentText = 'Open Document Text';
$strOpenNewWindow = 'Open new phpMyAdmin window';
$strOperations = 'Operations';
$strOperator = 'Operator';
+$strOptimize = 'Optimize';
$strOptimizeTable = 'Optimize table';
$strOptions = 'Options';
$strOr = 'Or';
@@ -639,6 +642,7 @@ $strQueryType = 'Query type';
$strQueryWindowLock = 'Do not overwrite this query from outside the window';
$strReadRequests = 'Read requests';
+$strRebuild = 'Rebuild';
$strReceived = 'Received';
$strRecommended = 'recommended';
$strRecords = 'Records';
@@ -657,6 +661,7 @@ $strRemoveSelectedUsers = 'Remove selected users';
$strRenameDatabaseOK = 'Database %s has been renamed to %s';
$strRenameTableOK = 'Table %s has been renamed to %s';
$strRenameTable = 'Rename table to';
+$strRepair = 'Repair';
$strRepairTable = 'Repair table';
$strReplaceNULLBy = 'Replace NULL by';
$strReplaceTable = 'Replace table data with file';
diff --git a/lang/estonian-utf-8.inc.php b/lang/estonian-utf-8.inc.php
index 07be154b4c..9eef0d4732 100644
--- a/lang/estonian-utf-8.inc.php
+++ b/lang/estonian-utf-8.inc.php
@@ -1038,4 +1038,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/finnish-utf-8.inc.php b/lang/finnish-utf-8.inc.php
index 0532c119bf..3d0c99a5c2 100644
--- a/lang/finnish-utf-8.inc.php
+++ b/lang/finnish-utf-8.inc.php
@@ -1035,4 +1035,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/french-utf-8.inc.php b/lang/french-utf-8.inc.php
index bf8299cdaf..feb23647ad 100644
--- a/lang/french-utf-8.inc.php
+++ b/lang/french-utf-8.inc.php
@@ -1029,4 +1029,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/galician-utf-8.inc.php b/lang/galician-utf-8.inc.php
index 6dc86e3d14..f51366394b 100644
--- a/lang/galician-utf-8.inc.php
+++ b/lang/galician-utf-8.inc.php
@@ -1031,4 +1031,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/georgian-utf-8.inc.php b/lang/georgian-utf-8.inc.php
index 44360184c7..0cfeca4cec 100644
--- a/lang/georgian-utf-8.inc.php
+++ b/lang/georgian-utf-8.inc.php
@@ -1058,4 +1058,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/german-utf-8.inc.php b/lang/german-utf-8.inc.php
index 1b43bc23ef..22fbce68fd 100644
--- a/lang/german-utf-8.inc.php
+++ b/lang/german-utf-8.inc.php
@@ -1035,4 +1035,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/greek-utf-8.inc.php b/lang/greek-utf-8.inc.php
index f004fc2cc4..ff0bcc0ad0 100644
--- a/lang/greek-utf-8.inc.php
+++ b/lang/greek-utf-8.inc.php
@@ -1055,4 +1055,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/hebrew-utf-8.inc.php b/lang/hebrew-utf-8.inc.php
index 676e7c77a5..240a90462f 100644
--- a/lang/hebrew-utf-8.inc.php
+++ b/lang/hebrew-utf-8.inc.php
@@ -1050,4 +1050,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/hindi-utf-8.inc.php b/lang/hindi-utf-8.inc.php
index b9f345f374..dc994ae861 100644
--- a/lang/hindi-utf-8.inc.php
+++ b/lang/hindi-utf-8.inc.php
@@ -1058,4 +1058,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/hungarian-utf-8.inc.php b/lang/hungarian-utf-8.inc.php
index 22bcf9af24..f9b826b836 100644
--- a/lang/hungarian-utf-8.inc.php
+++ b/lang/hungarian-utf-8.inc.php
@@ -1050,4 +1050,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/indonesian-utf-8.inc.php b/lang/indonesian-utf-8.inc.php
index 881e2059d9..61d5b8ca89 100644
--- a/lang/indonesian-utf-8.inc.php
+++ b/lang/indonesian-utf-8.inc.php
@@ -1048,4 +1048,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/italian-utf-8.inc.php b/lang/italian-utf-8.inc.php
index 7a9ab895dc..eca421839e 100644
--- a/lang/italian-utf-8.inc.php
+++ b/lang/italian-utf-8.inc.php
@@ -1032,4 +1032,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/japanese-utf-8.inc.php b/lang/japanese-utf-8.inc.php
index 2c9a24c6ed..1924fa2437 100644
--- a/lang/japanese-utf-8.inc.php
+++ b/lang/japanese-utf-8.inc.php
@@ -1036,4 +1036,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/korean-utf-8.inc.php b/lang/korean-utf-8.inc.php
index 2e598472da..aebbcf4dec 100644
--- a/lang/korean-utf-8.inc.php
+++ b/lang/korean-utf-8.inc.php
@@ -1053,4 +1053,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/latvian-utf-8.inc.php b/lang/latvian-utf-8.inc.php
index cb22abab08..84061b6f05 100644
--- a/lang/latvian-utf-8.inc.php
+++ b/lang/latvian-utf-8.inc.php
@@ -1055,4 +1055,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/lithuanian-utf-8.inc.php b/lang/lithuanian-utf-8.inc.php
index 208dcdfd83..a41c03724a 100644
--- a/lang/lithuanian-utf-8.inc.php
+++ b/lang/lithuanian-utf-8.inc.php
@@ -1048,4 +1048,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/macedonian_cyrillic-utf-8.inc.php b/lang/macedonian_cyrillic-utf-8.inc.php
index f5407437b8..12976ab6d8 100644
--- a/lang/macedonian_cyrillic-utf-8.inc.php
+++ b/lang/macedonian_cyrillic-utf-8.inc.php
@@ -1033,4 +1033,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/malay-utf-8.inc.php b/lang/malay-utf-8.inc.php
index b1d9acb7a1..f4c33a767f 100644
--- a/lang/malay-utf-8.inc.php
+++ b/lang/malay-utf-8.inc.php
@@ -1070,4 +1070,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/mongolian-utf-8.inc.php b/lang/mongolian-utf-8.inc.php
index d2c3103eb3..b853a37209 100644
--- a/lang/mongolian-utf-8.inc.php
+++ b/lang/mongolian-utf-8.inc.php
@@ -1053,4 +1053,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/norwegian-utf-8.inc.php b/lang/norwegian-utf-8.inc.php
index e5ae7f9393..432a7071a6 100644
--- a/lang/norwegian-utf-8.inc.php
+++ b/lang/norwegian-utf-8.inc.php
@@ -1030,4 +1030,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/persian-utf-8.inc.php b/lang/persian-utf-8.inc.php
index 3c48e2fafa..690a4618ed 100644
--- a/lang/persian-utf-8.inc.php
+++ b/lang/persian-utf-8.inc.php
@@ -1055,4 +1055,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/polish-utf-8.inc.php b/lang/polish-utf-8.inc.php
index 51713db15c..de67311a89 100644
--- a/lang/polish-utf-8.inc.php
+++ b/lang/polish-utf-8.inc.php
@@ -1026,4 +1026,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/portuguese-utf-8.inc.php b/lang/portuguese-utf-8.inc.php
index 6df6a60c05..fbac90592e 100644
--- a/lang/portuguese-utf-8.inc.php
+++ b/lang/portuguese-utf-8.inc.php
@@ -1059,4 +1059,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/romanian-utf-8.inc.php b/lang/romanian-utf-8.inc.php
index 6395ac6014..c75cfcc84d 100644
--- a/lang/romanian-utf-8.inc.php
+++ b/lang/romanian-utf-8.inc.php
@@ -1051,4 +1051,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/russian-utf-8.inc.php b/lang/russian-utf-8.inc.php
index 6354cf5a33..72cfc9cbcd 100644
--- a/lang/russian-utf-8.inc.php
+++ b/lang/russian-utf-8.inc.php
@@ -1033,4 +1033,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/serbian_cyrillic-utf-8.inc.php b/lang/serbian_cyrillic-utf-8.inc.php
index 404087b29e..ad60b6c481 100644
--- a/lang/serbian_cyrillic-utf-8.inc.php
+++ b/lang/serbian_cyrillic-utf-8.inc.php
@@ -1032,4 +1032,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/serbian_latin-utf-8.inc.php b/lang/serbian_latin-utf-8.inc.php
index 00f2ec8d97..cfcf4d3400 100644
--- a/lang/serbian_latin-utf-8.inc.php
+++ b/lang/serbian_latin-utf-8.inc.php
@@ -1032,4 +1032,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/sinhala-utf-8.inc.php b/lang/sinhala-utf-8.inc.php
index e3fe059ba3..81a63acd7a 100644
--- a/lang/sinhala-utf-8.inc.php
+++ b/lang/sinhala-utf-8.inc.php
@@ -1035,4 +1035,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/slovak-utf-8.inc.php b/lang/slovak-utf-8.inc.php
index 20e44c9873..52248fb010 100644
--- a/lang/slovak-utf-8.inc.php
+++ b/lang/slovak-utf-8.inc.php
@@ -1033,4 +1033,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/slovenian-utf-8.inc.php b/lang/slovenian-utf-8.inc.php
index c9fa65f26e..f4c5fb9b28 100644
--- a/lang/slovenian-utf-8.inc.php
+++ b/lang/slovenian-utf-8.inc.php
@@ -1052,4 +1052,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/spanish-utf-8.inc.php b/lang/spanish-utf-8.inc.php
index b7487ba71e..b9ae62c0c1 100644
--- a/lang/spanish-utf-8.inc.php
+++ b/lang/spanish-utf-8.inc.php
@@ -1028,4 +1028,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/swedish-utf-8.inc.php b/lang/swedish-utf-8.inc.php
index 674a8152be..a79f53b4b3 100644
--- a/lang/swedish-utf-8.inc.php
+++ b/lang/swedish-utf-8.inc.php
@@ -1031,4 +1031,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/tatarish-utf-8.inc.php b/lang/tatarish-utf-8.inc.php
index f9af6ff356..582469dbad 100644
--- a/lang/tatarish-utf-8.inc.php
+++ b/lang/tatarish-utf-8.inc.php
@@ -1044,4 +1044,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/thai-utf-8.inc.php b/lang/thai-utf-8.inc.php
index bb4176a9b6..6c9d9f7343 100644
--- a/lang/thai-utf-8.inc.php
+++ b/lang/thai-utf-8.inc.php
@@ -1054,4 +1054,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/turkish-utf-8.inc.php b/lang/turkish-utf-8.inc.php
index 8863e408a6..0dda31f45e 100644
--- a/lang/turkish-utf-8.inc.php
+++ b/lang/turkish-utf-8.inc.php
@@ -1038,4 +1038,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/lang/ukrainian-utf-8.inc.php b/lang/ukrainian-utf-8.inc.php
index 7b1e791f33..c713bd5f1f 100644
--- a/lang/ukrainian-utf-8.inc.php
+++ b/lang/ukrainian-utf-8.inc.php
@@ -1052,4 +1052,9 @@ $strInsertedRowId = 'Inserted row id: %1$d'; //to translate
$strIndexesSeemEqual = 'The indexes %1$s and %2$s seem to be equal and one of them could possibly be removed.'; //to translate
$strPartitionMaintenance = 'Partition maintenance'; //to translate
$strPartition = 'Partition %s'; //to translate
+$strAnalyze = 'Analyze'; //to translate
+$strCheck = 'Check'; //to translate
+$strOptimize = 'Optimize'; //to translate
+$strRebuild = 'Rebuild'; //to translate
+$strRepair = 'Repair'; //to translate
?>
diff --git a/libraries/common.lib.php b/libraries/common.lib.php
index 905b2fbe53..89cc48d624 100644
--- a/libraries/common.lib.php
+++ b/libraries/common.lib.php
@@ -2292,4 +2292,29 @@ function PMA_externalBug($functionality, $component, $minimum_version, $bugref)
echo PMA_showHint(sprintf($GLOBALS['strKnownExternalBug'], $functionality, 'http://bugs.mysql.com/' . $bugref));
}
}
+
+
+/**
+ * Generates a set of radio HTML fields
+ *
+ * @uses htmlspecialchars()
+ * @param string $html_field_name the radio HTML field
+ * @param array $choices the choices values and labels
+ * @param string $checked_choice the choice to check by default
+ * @param boolean $line_break whether to add an HTML line break after a choice
+ */
+function PMA_generate_html_radio($html_field_name, $choices, $checked_choice = '', $line_break = true) {
+ foreach ($choices as $choice_value => $choice_label) {
+ $html_field_id = $html_field_name . '_' . $choice_value;
+ echo '' . "\n";
+ echo '' . "\n";
+ if ($line_break) {
+ echo '
';
+ }
+ }
+}
?>
diff --git a/tbl_operations.php b/tbl_operations.php
index c7f541f2a7..4fc7929bde 100644
--- a/tbl_operations.php
+++ b/tbl_operations.php
@@ -131,6 +131,13 @@ if (isset($_REQUEST['submitorderby']) && ! empty($_REQUEST['order_field'])) {
$result = PMA_DBI_query($sql_query);
} // end if
+/**
+ * A partition operation has been requested by the user
+ */
+if (isset($_REQUEST['submit_partition']) && ! empty($_REQUEST['partition_operation'])) {
+ $sql_query = 'ALTER TABLE ' . PMA_backquote($GLOBALS['table']) . ' ' . $_REQUEST['partition_operation'] . ' PARTITION ' . $_REQUEST['partition_name'];
+ $result = PMA_DBI_query($sql_query);
+} // end if
if ($reread_info) {
$checksum = $delay_key_write = 0;
@@ -487,12 +494,25 @@ $this_url_params = array_merge($url_params,
$html_select .= '' . "\n";
printf($GLOBALS['strPartition'], $html_select);
unset($partition_names, $one_partition, $html_select);
+ $choices = array(
+ 'ANALYZE' => $strAnalyze,
+ 'CHECK' => $strCheck,
+ 'OPTIMIZE' => $strOptimize,
+ 'REBUILD' => $strRebuild,
+ 'REPAIR' => $strRepair);
+ PMA_generate_html_radio('partition_operation', $choices, '', false);
+ unset($choices);
+ echo PMA_showMySQLDocu('partitioning_maintenance', 'partitioning_maintenance');
?>
+