You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
984 B
51 lines
984 B
2 years ago
|
<?php
|
||
|
/**
|
||
|
* The NDBCLUSTER storage engine
|
||
|
*/
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
namespace PhpMyAdmin\Engines;
|
||
|
|
||
|
use PhpMyAdmin\StorageEngine;
|
||
|
|
||
|
/**
|
||
|
* The NDBCLUSTER storage engine
|
||
|
*/
|
||
|
class Ndbcluster extends StorageEngine
|
||
|
{
|
||
|
/**
|
||
|
* Returns array with variable names related to NDBCLUSTER storage engine
|
||
|
*
|
||
|
* @return array variable names
|
||
|
*/
|
||
|
public function getVariables()
|
||
|
{
|
||
|
return [
|
||
|
'ndb_connectstring' => [],
|
||
|
];
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Returns the pattern to be used in the query for SQL variables
|
||
|
* related to NDBCLUSTER storage engine
|
||
|
*
|
||
|
* @return string SQL query LIKE pattern
|
||
|
*/
|
||
|
public function getVariablesLikePattern()
|
||
|
{
|
||
|
return 'ndb\\_%';
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Returns string with filename for the MySQL help page
|
||
|
* about this storage engine
|
||
|
*
|
||
|
* @return string mysql helppage filename
|
||
|
*/
|
||
|
public function getMysqlHelpPage()
|
||
|
{
|
||
|
return 'ndbcluster';
|
||
|
}
|
||
|
}
|