memory.lib.php 683 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. /* vim: set expandtab sw=4 ts=4 sts=4: */
  3. /**
  4. * The MEMORY (HEAP) 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 MEMORY (HEAP) storage engine
  16. *
  17. * @package PhpMyAdmin-Engines
  18. */
  19. class PMA_StorageEngine_memory extends PMA_StorageEngine
  20. {
  21. /**
  22. * Returns array with variable names dedicated to MEMORY storage engine
  23. *
  24. * @return array variable names
  25. */
  26. function getVariables()
  27. {
  28. return array(
  29. 'max_heap_table_size' => array(
  30. 'type' => PMA_ENGINE_DETAILS_TYPE_SIZE,
  31. ),
  32. );
  33. }
  34. }
  35. ?>