mdbx: merge branch 'fix-131' (early part) into devel.

Change-Id: I0df5ffa9f06da1196a60d5a7c68fed59b7027e4c
This commit is contained in:
Leonid Yuriev
2020-11-16 07:07:53 +03:00
7 changed files with 781 additions and 259 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -778,8 +778,6 @@ struct MDBX_txn {
MDBX_db *mt_dbs;
/* Array of sequence numbers for each DB handle */
unsigned *mt_dbiseqs;
/* In write txns, array of cursors for each DB */
MDBX_cursor **mt_cursors;
/* Transaction DBI Flags */
#define DBI_DIRTY MDBX_DBI_DIRTY /* DB was written in this txn */
@@ -806,6 +804,8 @@ struct MDBX_txn {
MDBX_reader *reader;
} to;
struct {
/* In write txns, array of cursors for each DB */
MDBX_cursor **cursors;
pgno_t *reclaimed_pglist; /* Reclaimed GC pages */
txnid_t last_reclaimed; /* ID of last used record */
pgno_t loose_refund_wl /* FIXME: describe */;