mirror of
https://github.com/isar/libmdbx.git
synced 2025-09-16 03:32:19 +08:00
mdbx-tests: добавление поддержки опции MDBX_VALIDATION
и использование в стохастическом тесте.
This commit is contained in:
@@ -342,6 +342,7 @@ const struct option_verb mode_bits[] = {{"rdonly", unsigned(MDBX_RDONLY)},
|
|||||||
{"perturb", unsigned(MDBX_PAGEPERTURB)},
|
{"perturb", unsigned(MDBX_PAGEPERTURB)},
|
||||||
{"accede", unsigned(MDBX_ACCEDE)},
|
{"accede", unsigned(MDBX_ACCEDE)},
|
||||||
{"exclusive", unsigned(MDBX_EXCLUSIVE)},
|
{"exclusive", unsigned(MDBX_EXCLUSIVE)},
|
||||||
|
{"validation", unsigned(MDBX_VALIDATION)},
|
||||||
{nullptr, 0}};
|
{nullptr, 0}};
|
||||||
|
|
||||||
const struct option_verb table_bits[] = {{"key.reverse", unsigned(MDBX_REVERSEKEY)},
|
const struct option_verb table_bits[] = {{"key.reverse", unsigned(MDBX_REVERSEKEY)},
|
||||||
|
@@ -440,7 +440,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$EXTRA" != "no" ]; then
|
if [ "$EXTRA" != "no" ]; then
|
||||||
options=(perturb nomeminit nordahead writemap lifo nostickythreads)
|
options=(perturb nomeminit nordahead writemap lifo nostickythreads validation)
|
||||||
else
|
else
|
||||||
options=(writemap lifo nostickythreads)
|
options=(writemap lifo nostickythreads)
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user