ndbcluster.lib.php 1.1 KB

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