mirror of
https://github.com/isar/libmdbx.git
synced 2024-10-30 11:29:19 +08:00
mdbx-test: add exclusive
and accede
options for DB operation mode.
This commit is contained in:
parent
faafa21480
commit
5fa2e30709
@ -310,6 +310,7 @@ const struct option_verb mode_bits[] = {
|
||||
{"lifo", unsigned(MDBX_LIFORECLAIM)},
|
||||
{"perturb", unsigned(MDBX_PAGEPERTURB)},
|
||||
{"accede", unsigned(MDBX_ACCEDE)},
|
||||
{"exclusive", unsigned(MDBX_EXCLUSIVE)},
|
||||
{nullptr, 0}};
|
||||
|
||||
const struct option_verb table_bits[] = {
|
||||
|
@ -92,6 +92,8 @@ MDBX_NORETURN void usage(void) {
|
||||
" --mode={[+-]FLAG}[,[+-]FLAG]...\n"
|
||||
" nosubdir == MDBX_NOSUBDIR\n"
|
||||
" rdonly == MDBX_RDONLY\n"
|
||||
" exclusive == MDBX_EXCLUSIVE\n"
|
||||
" accede == MDBX_ACCEDE\n"
|
||||
" nometasync == MDBX_NOMETASYNC\n"
|
||||
" lifo == MDBX_LIFORECLAIM\n"
|
||||
" coalesce == MDBX_COALESCE\n"
|
||||
|
Loading…
Reference in New Issue
Block a user