Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2016-02-09 18:49:53 +0300
committerMichal Čihař <michal@cihar.com>2016-02-09 18:51:20 +0300
commitafe00d7c10f5894b33e0cd855669731787935018 (patch)
tree3de3f0dffd1fe95aa517dd02c8a48f6f53a86519 /tbl_operations.php
parent5a00545bf83f400cf2460c9f36d0ab242438fbb5 (diff)
The storage engine needs to be upper case all the time
So far the current was uppercase, but the possibly new was lower case leading to many weird effects. Fixes #11930 Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'tbl_operations.php')
-rw-r--r--tbl_operations.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tbl_operations.php b/tbl_operations.php
index a4402d45f9..9dcaa6ffa0 100644
--- a/tbl_operations.php
+++ b/tbl_operations.php
@@ -136,9 +136,9 @@ if (isset($_REQUEST['submitoptions'])) {
}
if (! empty($_REQUEST['new_tbl_storage_engine'])
- && /*overload*/mb_strtolower($_REQUEST['new_tbl_storage_engine']) !== $tbl_storage_engine
+ && /*overload*/mb_strtoupper($_REQUEST['new_tbl_storage_engine']) !== $tbl_storage_engine
) {
- $new_tbl_storage_engine = $_REQUEST['new_tbl_storage_engine'];
+ $new_tbl_storage_engine = mb_strtoupper($_REQUEST['new_tbl_storage_engine']);
// reset the globals for the new engine
list($is_myisam_or_aria, $is_innodb, $is_isam,
$is_berkeleydb, $is_aria, $is_pbxt