250 |
kaklik |
1 |
<?php |
|
|
2 |
/* $Id: bdb.lib.php,v 2.1 2005/12/07 10:28:50 cybot_tm Exp $ */ |
|
|
3 |
// vim: expandtab sw=4 ts=4 sts=4: |
|
|
4 |
|
|
|
5 |
class PMA_StorageEngine_bdb extends PMA_StorageEngine |
|
|
6 |
{ |
|
|
7 |
/** |
|
|
8 |
* @return array variable names |
|
|
9 |
*/ |
|
|
10 |
function getVariables() |
|
|
11 |
{ |
|
|
12 |
return array( |
|
|
13 |
'version_bdb' => array( |
|
|
14 |
'title' => $GLOBALS['strVersionInformation'], |
|
|
15 |
), |
|
|
16 |
'bdb_cache_size' => array( |
|
|
17 |
'type' => PMA_ENGINE_DETAILS_TYPE_SIZE, |
|
|
18 |
), |
|
|
19 |
'bdb_home' => array( |
|
|
20 |
), |
|
|
21 |
'bdb_log_buffer_size' => array( |
|
|
22 |
'type' => PMA_ENGINE_DETAILS_TYPE_SIZE, |
|
|
23 |
), |
|
|
24 |
'bdb_logdir' => array( |
|
|
25 |
), |
|
|
26 |
'bdb_max_lock' => array( |
|
|
27 |
'type' => PMA_ENGINE_DETAILS_TYPE_NUMERIC, |
|
|
28 |
), |
|
|
29 |
'bdb_shared_data' => array( |
|
|
30 |
), |
|
|
31 |
'bdb_tmpdir' => array( |
|
|
32 |
), |
|
|
33 |
'bdb_data_direct' => array( |
|
|
34 |
), |
|
|
35 |
'bdb_lock_detect' => array( |
|
|
36 |
), |
|
|
37 |
'bdb_log_direct' => array( |
|
|
38 |
), |
|
|
39 |
'bdb_no_recover' => array( |
|
|
40 |
), |
|
|
41 |
'bdb_no_sync' => array( |
|
|
42 |
), |
|
|
43 |
'skip_sync_bdb_logs' => array( |
|
|
44 |
), |
|
|
45 |
'sync_bdb_logs' => array( |
|
|
46 |
), |
|
|
47 |
); |
|
|
48 |
} |
|
|
49 |
|
|
|
50 |
/** |
|
|
51 |
* @return string LIKE pattern |
|
|
52 |
*/ |
|
|
53 |
function getVariablesLikePattern() |
|
|
54 |
{ |
|
|
55 |
return '%bdb%'; |
|
|
56 |
} |
|
|
57 |
|
|
|
58 |
/** |
|
|
59 |
* returns string with filename for the MySQL helppage |
|
|
60 |
* about this storage engne |
|
|
61 |
* |
|
|
62 |
* @return string mysql helppage filename |
|
|
63 |
*/ |
|
|
64 |
function getMysqlHelpPage() |
|
|
65 |
{ |
|
|
66 |
return 'bdb'; |
|
|
67 |
} |
|
|
68 |
} |
|
|
69 |
|
|
|
70 |
?> |