ndbcluster.lib.php 1.1 KB

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