diff options
Diffstat (limited to 'srcs/phpmyadmin/libraries/classes/Engines/Memory.php')
| -rw-r--r-- | srcs/phpmyadmin/libraries/classes/Engines/Memory.php | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/srcs/phpmyadmin/libraries/classes/Engines/Memory.php b/srcs/phpmyadmin/libraries/classes/Engines/Memory.php new file mode 100644 index 0000000..d01a63e --- /dev/null +++ b/srcs/phpmyadmin/libraries/classes/Engines/Memory.php @@ -0,0 +1,34 @@ +<?php +/* vim: set expandtab sw=4 ts=4 sts=4: */ +/** + * The MEMORY (HEAP) storage engine + * + * @package PhpMyAdmin-Engines + */ +declare(strict_types=1); + +namespace PhpMyAdmin\Engines; + +use PhpMyAdmin\StorageEngine; + +/** + * The MEMORY (HEAP) storage engine + * + * @package PhpMyAdmin-Engines + */ +class Memory extends StorageEngine +{ + /** + * Returns array with variable names dedicated to MEMORY storage engine + * + * @return array variable names + */ + public function getVariables() + { + return [ + 'max_heap_table_size' => [ + 'type' => PMA_ENGINE_DETAILS_TYPE_SIZE, + ], + ]; + } +} |
