summaryrefslogtreecommitdiff
path: root/usr.sbin/ldapd/btree.c
AgeCommit message (Expand)Author
2013-11-02bunch of format string cleanups, removing %i, signed vs unsigned, and evenTheo de Raadt
2010-09-01Do not use FP arithmetic. Variation on a diff from Mike Belopuhov some time ago.Martin Hedenfal
2010-07-26Fix a sigbus due to unaligned memory access, found when compacting onMartin Hedenfal
2010-07-18Fix an unaligned memory access.Martin Hedenfal
2010-07-06Send empty statistics rather than segfault if "ldapctl stats" is run when aMartin Hedenfal
2010-07-06When moving a node between pages during rebalance, find the source pageMartin Hedenfal
2010-07-06Adapt code to adhere to the comment (now that doesn't happen very often!).Martin Hedenfal
2010-07-05Unbreak writing updates to the btree while having a cursor open on theMartin Hedenfal
2010-07-05Plug a memory leak when aborting transactions.Martin Hedenfal
2010-07-02Add a BT_CURSOR_EXACT operation to btree_cursor_get. It behaves likeMartin Hedenfal
2010-07-02Plug a memory leak where each update leaked one page.Martin Hedenfal
2010-07-01reset number of revisions after compactionMartin Hedenfal
2010-07-01Copy statistics to the compacted database so it isn't lost.Martin Hedenfal
2010-07-01Fix a null pointer dereference when writing an entry requiring a singleMartin Hedenfal
2010-07-01Remove dead assignments. Found by clang static analyzer.Martin Hedenfal
2010-06-30Don't prune page cache directly when adding to it. Fixes a crash with aMartin Hedenfal
2010-06-29Fix signedness warnings.Martin Hedenfal
2010-06-27Add support for different page sizes in the btree. Add a new header pageMartin Hedenfal
2010-06-23Set errno to appropriate values when returning failure in btree. Make btreeMartin Hedenfal
2010-06-17Fix byte alignment on sparc64.Martin Hedenfal
2010-06-15Verify that a transaction passed to btree_tnx_{put,del} is not readonly.Martin Hedenfal
2010-06-13Don't expose typedefs of pgno_t and indx_t in the public header file, moveMartin Hedenfal
2010-06-13Fix btree reference counting when opening the database with a fileMartin Hedenfal
2010-06-11Keep returning BT_DEAD if last meta page has the "tombstone" bit set.Martin Hedenfal
2010-06-11Allow functions that accept both a btree and a txn argument to be passed aMartin Hedenfal
2010-06-11Append a "tombstone" meta page after a database has been compacted. ThisMartin Hedenfal
2010-06-10Read-only transactions have no dirty_queue, so check for a read-onlyMartin Hedenfal
2010-06-03Fix compilation on gcc2. Check a return value from malloc while at it.Martin Hedenfal
2010-06-02remove c++ commentsMartin Hedenfal
2010-05-31Remove trailing whitespace and spaces before tabs.Martin Hedenfal
2010-05-31Initial import of ldapd, a small LDAP daemon. Work in progress.Martin Hedenfal