primary_key is really a WHERE clause (that works also on tables where no PK is defined)
[phpmyadmin/madhuracj.git] / libraries / engines / myisam.lib.php
blob1f1bc26c4bac1d8ff600c387dff0edb1c6066458
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * @version $Id$
5 * @package phpMyAdmin-Engines
6 */
8 /**
9 * the MyISAM storage engine
10 * @package phpMyAdmin-Engines
12 class PMA_StorageEngine_myisam extends PMA_StorageEngine
14 /**
15 * returns array with variable names dedicated to MyISAM storage engine
17 * @return array variable names
19 function getVariables()
21 return array(
22 'myisam_data_pointer_size' => array(
23 'title' => $GLOBALS['strMyISAMDataPointerSize'],
24 'desc' => $GLOBALS['strMyISAMDataPointerSizeDesc'],
25 'type' => PMA_ENGINE_DETAILS_TYPE_SIZE,
27 'myisam_recover_options' => array(
28 'title' => $GLOBALS['strMyISAMRecoverOptions'],
29 'desc' => $GLOBALS['strMyISAMRecoverOptionsDesc'],
31 'myisam_max_sort_file_size' => array(
32 'title' => $GLOBALS['strMyISAMMaxSortFileSize'],
33 'desc' => $GLOBALS['strMyISAMMaxSortFileSizeDesc'],
34 'type' => PMA_ENGINE_DETAILS_TYPE_SIZE,
36 'myisam_max_extra_sort_file_size' => array(
37 'title' => $GLOBALS['strMyISAMMaxExtraSortFileSize'],
38 'desc' => $GLOBALS['strMyISAMMaxExtraSortFileSizeDesc'],
39 'type' => PMA_ENGINE_DETAILS_TYPE_SIZE,
41 'myisam_repair_threads' => array(
42 'title' => $GLOBALS['strMyISAMRepairThreads'],
43 'desc' => $GLOBALS['strMyISAMRepairThreadsDesc'],
44 'type' => PMA_ENGINE_DETAILS_TYPE_NUMERIC,
46 'myisam_sort_buffer_size' => array(
47 'title' => $GLOBALS['strMyISAMSortBufferSize'],
48 'desc' => $GLOBALS['strMyISAMSortBufferSizeDesc'],
49 'type' => PMA_ENGINE_DETAILS_TYPE_SIZE,
51 'myisam_stats_method' => array(
53 'delay_key_write' => array(
55 'bulk_insert_buffer_size' => array(
56 'type' => PMA_ENGINE_DETAILS_TYPE_SIZE,
58 'skip_external_locking' => array(