Skip to content
  • Hallvard Furuseth's avatar
    mdb_cursorpages_mark: Mark current txn and no more. · 38b11b1d
    Hallvard Furuseth authored
    Ignore parent txn cursors since it is the current txn's dirty_list
    which will be flushed. But check the current txn also when clearing,
    since cursors can have pages which are dirty in a parent.
    
    Check !mc_xcursor instead of !MDB_DUPSORT.  Equivalent for valid
    data, but a bit safer if the sub-DB flags are corrupt.
    38b11b1d