mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-16 03:44:58 -05:00
Merge remote branch 'origin/mdb.master'
This commit is contained in:
commit
9547dd7a0d
1 changed files with 4 additions and 0 deletions
|
|
@ -947,6 +947,10 @@ struct MDB_env {
|
|||
};
|
||||
/** max number of pages to commit in one writev() call */
|
||||
#define MDB_COMMIT_PAGES 64
|
||||
#if defined(IOV_MAX) && IOV_MAX < MDB_COMMIT_PAGES
|
||||
#undef MDB_COMMIT_PAGES
|
||||
#define MDB_COMMIT_PAGES IOV_MAX
|
||||
#endif
|
||||
|
||||
static MDB_page *mdb_page_alloc(MDB_cursor *mc, int num);
|
||||
static MDB_page *mdb_page_new(MDB_cursor *mc, uint32_t flags, int num);
|
||||
|
|
|
|||
Loading…
Reference in a new issue