Ndbcluster.php 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. namespace PhpMyAdmin\Engines;
  9. use PhpMyAdmin\StorageEngine;
  10. /**
  11. * The NDBCLUSTER storage engine
  12. *
  13. * @package PhpMyAdmin-Engines
  14. */
  15. class Ndbcluster extends StorageEngine
  16. {
  17. /**
  18. * Returns array with variable names related to NDBCLUSTER storage engine
  19. *
  20. * @return array variable names
  21. */
  22. public function getVariables()
  23. {
  24. return array(
  25. 'ndb_connectstring' => array(),
  26. );
  27. }
  28. /**
  29. * Returns the pattern to be used in the query for SQL variables
  30. * related to NDBCLUSTER storage engine
  31. *
  32. * @return string SQL query LIKE pattern
  33. */
  34. public function getVariablesLikePattern()
  35. {
  36. return 'ndb\\_%';
  37. }
  38. /**
  39. * Returns string with filename for the MySQL help page
  40. * about this storage engine
  41. *
  42. * @return string mysql helppage filename
  43. */
  44. public function getMysqlHelpPage()
  45. {
  46. return 'ndbcluster';
  47. }
  48. }