Commit c788b627 authored by John Esmet's avatar John Esmet Committed by Yoni Fogel

refs #4752 fix the blackhole bit to something unused in bdb


git-svn-id: file:///svn/toku/tokudb@46645 c7de825b-a66e-492c-adef-691d508d4ae1
parent 01068d0c
...@@ -144,6 +144,12 @@ static void print_defines (void) { ...@@ -144,6 +144,12 @@ static void print_defines (void) {
dodefine(DB_THREAD); dodefine(DB_THREAD);
dodefine(DB_TXN_NOSYNC); dodefine(DB_TXN_NOSYNC);
/* according to BDB 4.6.19, this is the next unused flag in the set of
* common flags plus private flags for DB->open */
#define DB_BLACKHOLE 0x0080000
dodefine(DB_BLACKHOLE);
#undef DB_BLACKHOLE
dodefine(DB_LOCK_DEFAULT); dodefine(DB_LOCK_DEFAULT);
dodefine(DB_LOCK_OLDEST); dodefine(DB_LOCK_OLDEST);
dodefine(DB_LOCK_RANDOM); dodefine(DB_LOCK_RANDOM);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment