250 |
kaklik |
1 |
<?php |
|
|
2 |
/* $Id: myisam.lib.php,v 2.2 2005/12/07 09:51:29 cybot_tm Exp $ */ |
|
|
3 |
// vim: expandtab sw=4 ts=4 sts=4: |
|
|
4 |
/** |
|
|
5 |
* the MyISAM storage engine |
|
|
6 |
*/ |
|
|
7 |
class PMA_StorageEngine_myisam extends PMA_StorageEngine |
|
|
8 |
{ |
|
|
9 |
/** |
|
|
10 |
* returns array with variable names dedicated to MyISAM storage engine |
|
|
11 |
* |
|
|
12 |
* @return array variable names |
|
|
13 |
*/ |
|
|
14 |
function getVariables() |
|
|
15 |
{ |
|
|
16 |
return array( |
|
|
17 |
'myisam_data_pointer_size' => array( |
|
|
18 |
'title' => $GLOBALS['strMyISAMDataPointerSize'], |
|
|
19 |
'desc' => $GLOBALS['strMyISAMDataPointerSizeDesc'], |
|
|
20 |
'type' => PMA_ENGINE_DETAILS_TYPE_SIZE, |
|
|
21 |
), |
|
|
22 |
'myisam_recover_options' => array( |
|
|
23 |
'title' => $GLOBALS['strMyISAMRecoverOptions'], |
|
|
24 |
'desc' => $GLOBALS['strMyISAMRecoverOptionsDesc'], |
|
|
25 |
), |
|
|
26 |
'myisam_max_sort_file_size' => array( |
|
|
27 |
'title' => $GLOBALS['strMyISAMMaxSortFileSize'], |
|
|
28 |
'desc' => $GLOBALS['strMyISAMMaxSortFileSizeDesc'], |
|
|
29 |
'type' => PMA_ENGINE_DETAILS_TYPE_SIZE, |
|
|
30 |
), |
|
|
31 |
'myisam_max_extra_sort_file_size' => array( |
|
|
32 |
'title' => $GLOBALS['strMyISAMMaxExtraSortFileSize'], |
|
|
33 |
'desc' => $GLOBALS['strMyISAMMaxExtraSortFileSizeDesc'], |
|
|
34 |
'type' => PMA_ENGINE_DETAILS_TYPE_SIZE, |
|
|
35 |
), |
|
|
36 |
'myisam_repair_threads' => array( |
|
|
37 |
'title' => $GLOBALS['strMyISAMRepairThreads'], |
|
|
38 |
'desc' => $GLOBALS['strMyISAMRepairThreadsDesc'], |
|
|
39 |
'type' => PMA_ENGINE_DETAILS_TYPE_NUMERIC, |
|
|
40 |
), |
|
|
41 |
'myisam_sort_buffer_size' => array( |
|
|
42 |
'title' => $GLOBALS['strMyISAMSortBufferSize'], |
|
|
43 |
'desc' => $GLOBALS['strMyISAMSortBufferSizeDesc'], |
|
|
44 |
'type' => PMA_ENGINE_DETAILS_TYPE_SIZE, |
|
|
45 |
), |
|
|
46 |
'myisam_stats_method' => array( |
|
|
47 |
), |
|
|
48 |
'delay_key_write' => array( |
|
|
49 |
), |
|
|
50 |
'bulk_insert_buffer_size' => array( |
|
|
51 |
'type' => PMA_ENGINE_DETAILS_TYPE_SIZE, |
|
|
52 |
), |
|
|
53 |
'skip_external_locking' => array( |
|
|
54 |
), |
|
|
55 |
); |
|
|
56 |
} |
|
|
57 |
} |
|
|
58 |
|
|
|
59 |
?> |