github.com/moontrade/mdbx-go@v0.4.0/bits.md (about)

     1  N |   MASK  | ENV       | TXN          | DB       | PUT       | DBI        | NODE    | PAGE     | MRESIZE |
     2  --|---------|-----------|--------------|----------|-----------|------------|---------|----------|---------|
     3  0 |0000 0001|ALLOC_CACHE|TXN_FINISHED  |          |           |DBI_DIRTY   |F_BIGDATA|P_BRANCH  |         |
     4  1 |0000 0002|ALLOC_GC   |TXN_ERROR     |REVERSEKEY|F_SUBDATA  |DBI_STALE   |F_SUBDATA|P_LEAF    |         |
     5  2 |0000 0004|ALLOC_NEW  |TXN_DIRTY     |DUPSORT   |           |DBI_FRESH   |F_DUPDATA|P_OVERFLOW|         |
     6  3 |0000 0008|ALLOC_SLOT |TXN_SPILLS    |INTEGERKEY|           |DBI_CREAT   |         |P_META    |         |
     7  4 |0000 0010|ALLOC_FAKE |TXN_HAS_CHILD |DUPFIXED  |NOOVERWRITE|DBI_VALID   |         |P_BAD     |         |
     8  5 |0000 0020|           |              |INTEGERDUP|NODUPDATA  |DBI_USRVALID|         |P_LEAF2   |         |
     9  6 |0000 0040|           |              |REVERSEDUP|CURRENT    |DBI_DUPDATA |         |P_SUBP    |         |
    10  7 |0000 0080|           |              |          |ALLDUPS    |DBI_AUDITED |         |          |         |
    11  8 |0000 0100| _MAY_MOVE |              |          |           |            |         |          | <=      |
    12  9 |0000 0200| _MAY_UNMAP|              |          |           |            |         |          | <=      |
    13  10|0000 0400|           |              |          |           |            |         |          |         |
    14  11|0000 0800|           |              |          |           |            |         |          |         |
    15  12|0000 1000|           |              |          |           |            |         |          |         |
    16  13|0000 2000|           |              |          |           |            |         |P_SPILLED |         |
    17  14|0000 4000|NOSUBDIR   |              |          |           |            |         |P_LOOSE   |         |
    18  15|0000 8000|           |              |DB_VALID  |NOSPILL    |            |         |P_FROZEN  |         |
    19  16|0001 0000|SAFE_NOSYNC|TXN_NOSYNC    |          |RESERVE    |            |RESERVE  |          |         |
    20  17|0002 0000|RDONLY     |TXN_RDONLY    |          |APPEND     |            |APPEND   |          | <=      |
    21  18|0004 0000|NOMETASYNC |TXN_NOMETASYNC|CREATE    |APPENDDUP  |            |         |          |         |
    22  19|0008 0000|WRITEMAP   |<=            |          |MULTIPLE   |            |         |          | <=      |
    23  20|0010 0000|UTTERLY    |              |          |           |            |         |          | <=      |
    24  21|0020 0000|NOTLS      |<=            |          |           |            |         |          |         |
    25  22|0040 0000|EXCLUSIVE  |              |          |           |            |         |          |         |
    26  23|0080 0000|NORDAHEAD  |              |          |           |            |         |          |         |
    27  24|0100 0000|NOMEMINIT  |TXN_PREPARE   |          |           |            |         |          |         |
    28  25|0200 0000|COALESCE   |              |          |           |            |         |          |         |
    29  26|0400 0000|LIFORECLAIM|              |          |           |            |         |          |         |
    30  27|0800 0000|PAGEPERTURB|              |          |           |            |         |          |         |
    31  28|1000 0000|ENV_TXKEY  |TXN_TRY       |          |           |            |         |          |         |
    32  29|2000 0000|ENV_ACTIVE |              |          |           |            |         |          |         |
    33  30|4000 0000|ACCEDE     |SHRINK_ALLOWED|DB_ACCEDE |           |            |         |          |         |
    34  31|8000 0000|FATAL_ERROR|              |          |           |            |         |          |         |