Ndbcluster.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?php
  2. /* vim: set expandtab sw=4 ts=4 sts=4: */
  3. /**
  4. * The NDBCLUSTER storage engine
  5. *
  6. * @package PhpMyAdmin-Engines
  7. */
  8. declare(strict_types=1);
  9. namespace PhpMyAdmin\Engines;
  10. use PhpMyAdmin\StorageEngine;
  11. /**
  12. * The NDBCLUSTER storage engine
  13. *
  14. * @package PhpMyAdmin-Engines
  15. */
  16. class Ndbcluster extends StorageEngine
  17. {
  18. /**
  19. * Returns array with variable names related to NDBCLUSTER storage engine
  20. *
  21. * @return array variable names
  22. */
  23. public function getVariables()
  24. {
  25. return [
  26. 'ndb_connectstring' => [],
  27. ];
  28. }
  29. /**
  30. * Returns the pattern to be used in the query for SQL variables
  31. * related to NDBCLUSTER storage engine
  32. *
  33. * @return string SQL query LIKE pattern
  34. */
  35. public function getVariablesLikePattern()
  36. {
  37. return 'ndb\\_%';
  38. }
  39. /**
  40. * Returns string with filename for the MySQL help page
  41. * about this storage engine
  42. *
  43. * @return string mysql helppage filename
  44. */
  45. public function getMysqlHelpPage()
  46. {
  47. return 'ndbcluster';
  48. }
  49. }