summaryrefslogtreecommitdiff
path: root/hugo/libraries/engines/memory.lib.php
diff options
context:
space:
mode:
authorTristan Zur <tzur@web.web.ccwn.org>2014-03-27 22:27:47 +0100
committerTristan Zur <tzur@web.web.ccwn.org>2014-03-27 22:27:47 +0100
commitb62676ca5d3d6f6ba3f019ea3f99722e165a98d8 (patch)
tree86722cb80f07d4569f90088eeaea2fc2f6e2ef94 /hugo/libraries/engines/memory.lib.php
Initial commit of intern.ccwn.org contentsHEADmaster
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,
+ ),
+ );
+ }
+}
+
+?>