From 1c337f488d2993fe9cf38f16a8e3571247efe89d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 1 Dec 2016 12:37:11 +0100 Subject: [PATCH] Remove no longer used function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Issue #12703, #12719 Signed-off-by: Michal Čihař --- libraries/operations.lib.php | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/libraries/operations.lib.php b/libraries/operations.lib.php index 898a95e6c9..d803e8987f 100644 --- a/libraries/operations.lib.php +++ b/libraries/operations.lib.php @@ -1848,34 +1848,6 @@ function PMA_getTableAltersArray($is_myisam_or_aria, $is_isam, $pack_keys, return $table_alters; } -/** - * set initial value of the set of variables, based on the current table engine - * - * @param string $tbl_storage_engine table storage engine in upper case - * - * @return array ($is_myisam_or_aria, $is_innodb, $is_isam, - * $is_berkeleydb, $is_aria, $is_pbxt) - */ -function PMA_setGlobalVariablesForEngine($tbl_storage_engine) -{ - //Options that apply to MYISAM usually apply to ARIA - $is_myisam_or_aria = ($tbl_storage_engine == 'MYISAM' - || $tbl_storage_engine == 'ARIA' - || $tbl_storage_engine == 'MARIA' - ); - $is_aria = ($tbl_storage_engine == 'ARIA'); - - $is_isam = ($tbl_storage_engine == 'ISAM'); - $is_innodb = ($tbl_storage_engine == 'INNODB'); - $is_berkeleydb = ($tbl_storage_engine == 'BERKELEYDB'); - $is_pbxt = ($tbl_storage_engine == 'PBXT'); - - return array( - $is_myisam_or_aria, $is_innodb, $is_isam, - $is_berkeleydb, $is_aria, $is_pbxt - ); -} - /** * Get warning messages array *