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 |
|
Howard Chu
|
9725bc475f
|
Tweak tool IDL cache, use MDB_MULTIPLE
|
2011-10-03 11:29:04 -07:00 |
|
Howard Chu
|
8a8fb76cca
|
Use MDB_APPEND mode where possible
|
2011-10-02 21:29:21 -07:00 |
|
Howard Chu
|
98da203fce
|
Use IDL caching in tool/quick mode
|
2011-10-02 19:38:58 -07:00 |
|
Howard Chu
|
a1533520c1
|
Use MDB_RESERVE for id2entry_put
|
2011-10-02 10:06:06 -07:00 |
|
Howard Chu
|
c5ee5212fd
|
Updated for mdb_txn_begin API change.
Nested txn stuff which we don't use.
|
2011-09-21 15:59:08 -07:00 |
|
Hallvard Furuseth
|
47f6aec61e
|
back-bdb/back-mdb IDL cleanup.
Parenthesize macros. Microoptimize IDL search. Use RANGE_<FIRST/LAST>
when IDL is known to be a range.
|
2011-09-19 10:31:12 +02:00 |
|
Hallvard Furuseth
|
ef7f5f5e32
|
Cleanup ISO C compatibility for recent commits
|
2011-09-19 10:31:12 +02:00 |
|
Hallvard Furuseth
|
79f4f3c0bd
|
More libmdb vs back-mdb C type tweaks.
Do not access a size_t via an unsigned long pointer, an MDB_val via a
berval pointer, or the inverse. Instead copy into the proper data types.
|
2011-09-19 10:31:12 +02:00 |
|
Howard Chu
|
c0fc7fdbed
|
Fix prev commit
Don't truncate all indices if specific indices were given.
|
2011-09-18 14:47:41 -07:00 |
|
Howard Chu
|
344996c5e8
|
Support index truncation
|
2011-09-18 14:28:36 -07:00 |
|
Howard Chu
|
94c0b077d8
|
New mdb_close() signature
|
2011-09-18 13:25:38 -07:00 |
|
Howard Chu
|
04311cc716
|
Fix entry_alloc with no attrs
|
2011-09-14 10:14:02 -07:00 |
|
Howard Chu
|
0e96868e8e
|
Fix onelevel search from last commit
|
2011-09-14 09:54:58 -07:00 |
|
Howard Chu
|
dfed6f77d7
|
More search optimization
Tighten up entry_alloc/entry_decode
Track parent nodes in idscopes
|
2011-09-13 16:58:38 -07:00 |
|
Howard Chu
|
fb264bf3e1
|
Tentative speedup - use plain ints for entry_encode/decode
Keep entries word-aligned. Yields ~10% speedup, but also 10% more space used.
May revert this if the space cost is unacceptable.
|
2011-09-13 15:24:50 -07:00 |
|
Howard Chu
|
65b5ff2de3
|
mdb_db_close() should not force env_sync in quick mode
|
2011-09-13 01:28:37 -07:00 |
|
Howard Chu
|
9297050f9e
|
Resolve MDB/HDB monitor OID clashes
|
2011-09-12 11:41:04 -07:00 |
|
Howard Chu
|
c4ddf352ba
|
Just use memcpy since we know it's non-overlapping
|
2011-09-12 11:05:38 -07:00 |
|
Hallvard Furuseth
|
141a43c1ee
|
Tweak back-mdb integer types to match libmdb.
Also do not cast between berval and MDB_val. That breaks when
sizeof(berval.bv_len) != sizeof(MDB_val.mv_size).
|
2011-09-12 19:07:12 +02:00 |
|
Howard Chu
|
16cbeb5e65
|
Fix - slapcat doesn't set op->o_hdr for tmpmemctx
|
2011-09-10 01:12:50 -07:00 |
|
Howard Chu
|
802a2ad4b2
|
Fix out-of-order slapadd
|
2011-09-09 22:29:19 -07:00 |
|
Howard Chu
|
c5beffc94f
|
Fix bogus error codes
|
2011-09-09 19:53:56 -07:00 |
|
Howard Chu
|
54ced52c04
|
Keep cursor open for id2entry
|
2011-09-09 01:01:25 -07:00 |
|
Howard Chu
|
f72d65b77a
|
Use tmpmem-based entries
|
2011-09-08 22:07:04 -07:00 |
|
Howard Chu
|
80f6f0a1c0
|
Drop referral.c
|
2011-09-08 22:02:59 -07:00 |
|