- 25 Jan, 2014 1 commit
-
-
Kurt Zeilenga authored
-
- 15 Jan, 2014 4 commits
-
-
Quanah Gibson-Mount authored
-
Howard Chu authored
-
Quanah Gibson-Mount authored
-
Howard Chu authored
-
- 13 Jan, 2014 3 commits
-
-
Hallvard Furuseth authored
This reverts commit 75494c08, which must await a fix to ITS#7771 (DUPSORT cursor tracking).
-
Howard Chu authored
-
Howard Chu authored
-
- 12 Jan, 2014 1 commit
-
-
Howard Chu authored
free(NULL) is supposed to be safe. "Portable wrapper libraries" that fail to preserve this behavior are inherently broken. But then again, this is Mozilla code, so that's redundant.
-
- 07 Jan, 2014 1 commit
-
-
Quanah Gibson-Mount authored
-
- 06 Jan, 2014 5 commits
-
-
Hallvard Furuseth authored
db_mid2l_insert(): Move assert to mdb.c. mdb_cursor_set(): Previous assert cannot fail now. mdb_cursor_put(): Check mc/key and return EINVAL. mdb_cursor_dbi(): No error return, so just segfault if cursor==NULL.
-
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
This should likely be reverted when all callers handle these errors.
-
- 05 Jan, 2014 2 commits
-
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
- 03 Jan, 2014 1 commit
-
-
Howard Chu authored
-
- 31 Dec, 2013 1 commit
-
-
Hallvard Furuseth authored
-
- 29 Dec, 2013 7 commits
-
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
mdb_cursor_put(): Use free sub-page space added by a previous put(existing DUPSORT item), if any. Tweak NUMKEYS code to avoid a new signedness warning.
-
Hallvard Furuseth authored
It was inaccurate and misplaced. Verify it in mdb.c instead.
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
- 28 Dec, 2013 2 commits
-
-
Pierangelo Masarati authored
-
Pierangelo Masarati authored
-
- 21 Dec, 2013 1 commit
-
-
Hallvard Furuseth authored
I.e. d69d2ce2, it left out some changes.
-
- 11 Dec, 2013 11 commits
-
-
Hallvard Furuseth authored
Tweak slapd code so wrap_slap_ops can process it: Use pointers BackendInfo *bi instead of array "func" = &bi->bi_op_bind. In slapo-chain, keep a slap_operation_t instead of a function ptr.
-
Hallvard Furuseth authored
Add framework for debug macros SLAP_OP(), slap_be_op(), slap_bi_op() around LDAP-operation backend calls. contrib/slapd-tools/wrap_slap_ops converts code to use them. Code compiles as before by default. #define USE_RS_ASSERT enables debugging, $NO_RS_ASSERT tweaks it. See slapd/result.c.
-
Howard Chu authored
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
It and the MDB_msg_func can now return >= 0 for success. Always return any MDB_msg_func() error result.
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
Use a sub-DB for DUPSORT item #1/#2 per key if needed: Not a sub- page too big for a node, nor an overflow page (which not all DUPSORT code checks for). Move "insert" code, to avoid non-loop goto upwards. (This is the commit which needs the change to xdata.mv_size in commit 9d6e4a91 "page sizes".)
-
Hallvard Furuseth authored
Handle keys stored by a liblmdb with a bigger MDB_MAXKEYSIZE. mdb_get/mdb_del(absent key bigger than our MDB_MAXKEYSIZE) now return MDB_NOTFOUND instead of MDB_BAD_VALSIZE.
-
Hallvard Furuseth authored
Change me_nodemax to not count the mp_ptrs[] entry. That's mostly how it was used. Compare node sizes ">" me_nodemax instead of ">=". The ">=" was a workaround for confusing sizes with and without the mp_ptrs[] entry, but broke for nodes with size (old me_nodemax-1). Explicitly make me_nodemax even. An odd value could break the comparisons. It was even anyway because MDB_MINKEYS == 2.
-
Hallvard Furuseth authored
Do not give uneven sizes to the sub-page and the node it lives in.
-