Commit Graph

86 Commits

Author SHA1 Message Date
Howard Chu
aa1ae03caf Rename libmdb to liblmdb 2012-11-30 12:59:18 -08:00
Howard Chu
e51aff55e6 Rename mdb.h to lmdb.h 2012-11-30 12:35:05 -08:00
Howard Chu
a061f2192e ITS#7452 fix typo in envflags 2012-11-26 16:22:27 -08:00
Howard Chu
970e7f8199 ITS#7416 make sure to reopen attr DBs after env reopen 2012-10-11 16:45:42 -07:00
Quanah Gibson-Mount
6a435736fb Fix MDB objectClass so that MDB will load 2012-09-26 16:48:57 -07:00
Howard Chu
d426cafaca More for envflags
If trying to alter a non-resettable flag, just close/reopen the env.
2012-09-25 04:37:29 -07:00
Howard Chu
dc9ef835c5 Add envflags for MDB config
allows setting writemap and some other useful flags
2012-09-25 04:31:37 -07:00
Howard Chu
3e47e825fd ITS#7391 more for ab04c50a32 2012-09-14 12:53:47 -07:00
Howard Chu
bdef02832e ITS#7386 close read txn in reindex commit 2012-09-12 13:37:22 -07:00
Howard Chu
54a111907b More for 38a3317096
update mdb_tool_idl_add prototype
2012-09-04 04:44:20 -07:00
Howard Chu
c9c24fbafe More for ea248dacf4
Fix search_aliases invocation
2012-09-04 04:39:17 -07:00
Howard Chu
bf10bdb03a Fix typos in prev commit 2012-08-27 14:27:04 -07:00
Howard Chu
ea248dacf4 Don't decode entries until we know they're in scope 2012-08-27 14:08:06 -07:00
Howard Chu
11cf13bf9d Fix slapadd -q -w double-free 2012-08-17 13:38:47 -07:00
Howard Chu
e5864927ae Fix online reconfig
maxreaders/maxsize was not re-opening because cleanup call was missing
online indexer should abort txn after index failure
2012-07-26 08:45:39 -07:00
Howard Chu
2265d2bac8 Append tweak: must init mdb->mi_nextid
Otherwise duplicate entries aren't detected
2012-07-22 15:44:11 -07:00
Emily Backes
c453a236fc Update name information 2012-07-22 07:08:35 -07:00
Howard Chu
38a3317096 Use new Append support 2012-07-21 06:21:56 -07:00
Howard Chu
6934696c23 ITS#7323 plug leak in online indexer 2012-07-12 02:36:12 -07:00
Howard Chu
8aa05e920a ITS#7302 fix mdb_dn2id_delete 2012-06-22 07:10:56 -07:00
Howard Chu
7c28420618 ITS#7303 fix unneeded alias lookups 2012-06-12 16:16:07 -07:00
Howard Chu
d0296e6e33 ITS#7279 init rc in mdb_idl_insert_keys 2012-05-30 05:09:31 -07:00
Howard Chu
34240dbbbb ITS#7255 in mdb_tool_entry_modify use the existing global txn 2012-05-02 13:32:06 -07:00
Howard Chu
71843da2a7 MDB_APPEND should only be used in tool mode 2012-04-09 05:18:44 -07:00
Pierangelo Masarati
ce54dabb1b fix uninit'ed parameters to monitor_back_register_entry_attrs() 2012-04-04 15:09:50 +02:00
Howard Chu
47e57a9c8f ITS#7191 fix typo, more alignment tweaks 2012-03-08 21:39:31 -08:00
Howard Chu
d0bcaee0f3 ITS#7190 don't crash in slapcat on NULL entry 2012-03-06 22:15:51 -08:00
Howard Chu
c4325af7e0 ITS#7180 fix mdb_entry_get when mdb_entry_next was not called 2012-02-24 15:20:17 -08:00
Howard Chu
9b9f4984f0 More for ITS#7170 2012-02-23 12:08:53 -08:00
Howard Chu
c4d78a17c3 ITS#7170 fix Quick mode index generation 2012-02-22 16:01:59 -08:00
Howard Chu
164e738878 ITS#7176 fix slapindex -q -t 2012-02-20 17:04:24 -08:00
Hallvard Furuseth
465942e74d ITS#7160 Support POSIX make: No $< in target rules 2012-02-18 18:17:40 +01:00
Howard Chu
3423b56690 ITS#7146 fix prev commit 2012-02-02 03:26:53 -08:00
Howard Chu
9d3b1af2ff ITS#7146 check for ad_index overflow
Temporary fix...
2012-02-02 03:08:33 -08:00
Howard Chu
d7933e2ea4 ITS#7140 more cleanup on txn abort 2012-01-28 11:52:09 -08:00
Howard Chu
5ca62457f3 Fix: txn is invalidated by mdb_txn_commit() 2012-01-21 08:49:49 -08:00
Kurt Zeilenga
2bbf9804b9 Happy New Year! 2012-01-01 07:10:53 -08:00
Howard Chu
4f298d47af ITS#7099 fix mdb_entry_return for tool mode
Originally, overlays were not supposed to take effect in tool mode.
Apparently that's no longer the case...
2011-11-29 05:42:46 -08:00
Howard Chu
2c4d548206 ITS#7090 fix out-of-order slapadd 2011-11-25 00:25:52 -08:00
Howard Chu
e52127533d ITS#7087 fix mdb_online_index endless loop 2011-11-10 16:33:49 -08:00
Howard Chu
3b2961fcc2 More debug msg null pointer checks 2011-11-09 15:36:16 -08:00
Howard Chu
a642e3eb90 Check for NULL DN in debug msg 2011-11-09 02:20:26 -08:00
Howard Chu
d9706311a0 Check for NULL DN 2011-11-09 02:07:14 -08:00
Howard Chu
676dae633a Avoid stack overrun in mdb_search
Use malloc'd memory, stored persistently in thread-local storage.
2011-11-09 02:05:14 -08:00
Howard Chu
e2a7617d17 Key alignment tweaks for Sparc 2011-11-09 01:03:14 -08:00
Howard Chu
6b679875ae Fix u_intX -> uintX 2011-11-08 19:06:46 -08:00
Howard Chu
2014460eb5 Only use tool IDL cache when multithreaded 2011-10-20 13:46:39 -07:00
Howard Chu
c647a06441 More for cursor reuse 2011-10-06 19:15:10 -07:00
Howard Chu
4c17f31843 Keep some dn2i/id2e cursors open longer
So they can be reused, and avoid unnecessary page_searches
2011-10-06 19:14:22 -07:00
Howard Chu
d06301f303 Turn off tool IDL caching
Well, just like in back-bdb in 2005, it only slowed things down
on larger LDIFs.
2011-10-04 02:18:09 -07:00