Remove no longer used function
Issue #12703, #12719 Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
791a338946
commit
1c337f488d
@ -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
|
||||
*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user