mdbx-test: add exclusive and accede options for DB operation mode.

This commit is contained in:
Leonid Yuriev 2021-07-20 11:15:54 +03:00
parent faafa21480
commit 5fa2e30709
2 changed files with 3 additions and 0 deletions

View File

@ -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[] = {

View File

@ -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"