Memory.php 653 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. declare(strict_types=1);
  9. namespace PhpMyAdmin\Engines;
  10. use PhpMyAdmin\StorageEngine;
  11. /**
  12. * The MEMORY (HEAP) storage engine
  13. *
  14. * @package PhpMyAdmin-Engines
  15. */
  16. class Memory extends 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 [
  26. 'max_heap_table_size' => [
  27. 'type' => PMA_ENGINE_DETAILS_TYPE_SIZE,
  28. ],
  29. ];
  30. }
  31. }