summaryrefslogtreecommitdiff
path: root/hugo/libraries/engines/memory.lib.php
diff options
context:
space:
mode:
Diffstat (limited to 'hugo/libraries/engines/memory.lib.php')
-rw-r--r--hugo/libraries/engines/memory.lib.php38
1 files changed, 38 insertions, 0 deletions
diff --git a/hugo/libraries/engines/memory.lib.php b/hugo/libraries/engines/memory.lib.php
new file mode 100644
index 0000000..819b9c0
--- /dev/null
+++ b/hugo/libraries/engines/memory.lib.php
@@ -0,0 +1,38 @@
+<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
+/**
+ * The MEMORY (HEAP) storage engine
+ *
+ * @package PhpMyAdmin-Engines
+ */
+if (! defined('PHPMYADMIN')) {
+ exit;
+}
+
+if (! defined('PHPMYADMIN')) {
+ exit;
+}
+
+/**
+ * The MEMORY (HEAP) storage engine
+ *
+ * @package PhpMyAdmin-Engines
+ */
+class PMA_StorageEngine_memory extends PMA_StorageEngine
+{
+ /**
+ * Returns array with variable names dedicated to MEMORY storage engine
+ *
+ * @return array variable names
+ */
+ function getVariables()
+ {
+ return array(
+ 'max_heap_table_size' => array(
+ 'type' => PMA_ENGINE_DETAILS_TYPE_SIZE,
+ ),
+ );
+ }
+}
+
+?>