memory.lib.php 646 B

12345678910111213141516171819202122232425262728293031323334
  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. /**
  12. * The MEMORY (HEAP) storage engine
  13. *
  14. * @package PhpMyAdmin-Engines
  15. */
  16. class PMA_StorageEngine_Memory extends PMA_StorageEngine
  17. {
  18. /**
  19. * Returns array with variable names dedicated to MEMORY storage engine
  20. *
  21. * @return array variable names
  22. */
  23. public function getVariables()
  24. {
  25. return array(
  26. 'max_heap_table_size' => array(
  27. 'type' => PMA_ENGINE_DETAILS_TYPE_SIZE,
  28. ),
  29. );
  30. }
  31. }
  32. ?>