Memory.php 638 B

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