mirror of
https://github.com/YunoHost-Apps/phpmyadmin_ynh.git
synced 2024-09-03 19:56:46 +02:00
56 lines
1.1 KiB
PHP
56 lines
1.1 KiB
PHP
|
<?php
|
||
|
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||
|
/**
|
||
|
* The NDBCLUSTER storage engine
|
||
|
*
|
||
|
* @package PhpMyAdmin-Engines
|
||
|
*/
|
||
|
if (! defined('PHPMYADMIN')) {
|
||
|
exit;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* The NDBCLUSTER storage engine
|
||
|
*
|
||
|
* @package PhpMyAdmin-Engines
|
||
|
*/
|
||
|
class PMA_StorageEngine_ndbcluster extends PMA_StorageEngine
|
||
|
{
|
||
|
/**
|
||
|
* Returns array with variable names realted to NDBCLUSTER storage engine
|
||
|
*
|
||
|
* @return array variable names
|
||
|
*/
|
||
|
function getVariables()
|
||
|
{
|
||
|
return array(
|
||
|
'ndb_connectstring' => array(
|
||
|
),
|
||
|
);
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Returns the pattern to be used in the query for SQL variables
|
||
|
* related to NDBCLUSTER storage engine
|
||
|
*
|
||
|
* @return string SQL query LIKE pattern
|
||
|
*/
|
||
|
function getVariablesLikePattern()
|
||
|
{
|
||
|
return 'ndb\\_%';
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Returns string with filename for the MySQL help page
|
||
|
* about this storage engine
|
||
|
*
|
||
|
* @return string mysql helppage filename
|
||
|
*/
|
||
|
function getMysqlHelpPage()
|
||
|
{
|
||
|
return 'ndbcluster';
|
||
|
}
|
||
|
}
|
||
|
|
||
|
?>
|