Howard Chu
773b3aff16
more cleanup from jon@symas.com
2001-12-18 04:52:55 +00:00
Howard Chu
7c8c5213b1
BDB_MULTI still needs the dupsort function.
2001-12-18 04:41:40 +00:00
Howard Chu
fff5fc14ec
from jon@symas.com - minor cleanup
2001-12-18 04:02:17 +00:00
Kurt Zeilenga
ca975216b8
Regenerate configure and fix AC header inclusion
2001-12-18 02:25:21 +00:00
Howard Chu
0b22897f37
Minor cleanup
2001-12-18 00:29:43 +00:00
Howard Chu
3bd8946ca0
from jon@symas.com - minor cleanup
2001-12-17 22:48:29 +00:00
Howard Chu
923cdcf3c5
fix from jon@symas.com - missing arguments to Debug/LDAP_LOG
2001-12-17 22:47:36 +00:00
Howard Chu
8ad557e4ec
fix from jon@symas.com - inet_ntoa on uninitialized sockaddr
2001-12-17 22:46:59 +00:00
Howard Chu
3545f082af
fix from jon@symas.com - don't free uninitialized bv_val
2001-12-17 22:46:08 +00:00
Howard Chu
63d4d0eb1e
Fix ITS#1497 use strcmp instead of strncmp
2001-12-17 21:56:24 +00:00
Howard Chu
4ddb7c5730
Use a 4-byte constant for the presence index key. Set the index db hash
...
function to simply pass thru the key value, which is already a hash value.
2001-12-16 14:21:47 +00:00
Howard Chu
bf61a1ca9d
Use DB_HASH instead of DB_BTREE for index databases. Since index keys are
...
mainly 4-byte hashes already, there is no locality-of-reference to exploit
as a Btree. About a 7% performance gain.
2001-12-15 23:21:37 +00:00
Howard Chu
4ed4b3f0c0
Revert previous checkin, DB_NODUPDATA is not valid on db->set_flags().
...
It must be specified on individual put() operations (and already is).
2001-12-15 23:00:46 +00:00
Howard Chu
ff682be26e
Added acl_destroy, acl_free.
2001-12-15 12:41:53 +00:00
Howard Chu
826056e75b
More thorough backend_destroy. Added config_destroy. Destroy slap_listeners.
...
Plugged other small leaks.
2001-12-15 12:05:58 +00:00
Howard Chu
335294e190
More cleanup for bdb_db_close
2001-12-15 08:11:59 +00:00
Howard Chu
ce81cef289
Do a regular entry_free on entries from do_add
2001-12-15 06:25:47 +00:00
Pierangelo Masarati
cea4556910
allow empty suffix
2001-12-12 07:56:17 +00:00
Howard Chu
bc66d649b3
More from jon@symas.com - slapd.conf needs backslashes to be escaped.
2001-12-11 22:49:16 +00:00
Howard Chu
bfe6df6b20
Don't signal error if reindexing an already existing dn2id index
2001-12-11 14:23:05 +00:00
Howard Chu
fcce9bb260
Fix ldbm_tool_entry_first, was not byteswapping ID.
2001-12-11 14:03:18 +00:00
Pierangelo Masarati
7330016026
strengthen dn_issuffix
2001-12-11 12:36:54 +00:00
Pierangelo Masarati
f461eb5c72
better description of the backend
2001-12-11 11:47:43 +00:00
Pierangelo Masarati
f21649c9a6
fix backend suffix allocation bug; add better versioning to main entry
2001-12-11 11:31:38 +00:00
Pierangelo Masarati
e754997da0
minor cleanup
2001-12-11 11:30:01 +00:00
Pierangelo Masarati
e25627942e
missing files (sorry)
2001-12-10 21:49:07 +00:00
Howard Chu
67a64c2935
Fixed suffix DN_SUBTREE again. Index was still being written even though
...
it was not being read.
2001-12-10 18:09:07 +00:00
Howard Chu
b54df180f0
Fix - on little-endian machines, store IDs in big-endian order.
2001-12-10 17:42:01 +00:00
Howard Chu
75064ce91d
Fix check for DN_SUBTREE on be suffix
2001-12-10 16:59:37 +00:00
Howard Chu
ce76a4b01a
Fix - on little-endian machines, store IDs in big-endian order. Otherwise
...
BDB's default key sort algorithm sorts in the wrong order (and there's no
convenient way to select the correct algorithm). This is an incompatible
change to the database format but will improve back-ldbm's add/delete
characteristics.
2001-12-10 16:53:15 +00:00
Howard Chu
d7a7b844a0
More cleanup. The last, I hope.
2001-12-10 13:44:02 +00:00
Howard Chu
aeba8c29bb
Extra NULL check, just in case
2001-12-10 13:39:36 +00:00
Howard Chu
727baf2fa5
Misc cleanup
2001-12-10 13:35:04 +00:00
Howard Chu
74377c9620
Fix typo in glue_back_select
2001-12-10 12:30:43 +00:00
Howard Chu
efe8ac1bf9
Revert previous commit. Checked in by mistake.
2001-12-10 12:25:24 +00:00
Howard Chu
ef0b308bea
Changed backglue configuration. Added noSubordinates arg to select_backend
...
to deal with glued subordinates.
2001-12-10 12:09:40 +00:00
Pierangelo Masarati
95f1740aa6
improvements to monitor backend: added a log entry that lists the current log level and can be modified via protocol at runtime, to change the log level; minor improvements; fixed a problem in dealing with dn normalization
2001-12-10 09:50:06 +00:00
Pierangelo Masarati
fe45b74798
minor cleanup
2001-12-10 09:46:50 +00:00
Kurt Zeilenga
7a2d752118
fix issuffix call
2001-12-09 19:19:10 +00:00
Kurt Zeilenga
30831a4012
misc cleanup
2001-12-09 18:57:46 +00:00
Howard Chu
fd7e23c188
Converted suffixAlias to struct bervals.
2001-12-09 14:57:42 +00:00
Howard Chu
45aadbbbba
Eliminate unnecessary per-operation dn_normalize(o_ndn); it's already
...
done in do_bind() and there's space in the connection structure for c_ndn
already, just copy it.
2001-12-09 14:46:29 +00:00
Howard Chu
d0b1ca692a
Minor strlen cleanup
2001-12-09 13:57:55 +00:00
Kurt Zeilenga
ab6f9bd352
Remove lint
2001-12-09 03:19:23 +00:00
Howard Chu
369ee86107
Cleaned up search, use dn_issuffixbv
2001-12-09 03:09:18 +00:00
Howard Chu
ebadb3737f
Added dn_issuffixbv() like dn_issuffix, but with bervals.
2001-12-09 03:02:29 +00:00
Howard Chu
984c29bc5f
Added ndn to replog args, eliminate unnecessary dn_normalize in replog.
2001-12-09 02:57:50 +00:00
Howard Chu
acc2500114
Added ndn to replog args, eliminate unnecessary dn_normalize in replog.
2001-12-09 02:47:39 +00:00
Howard Chu
1f28047ab5
Added referrals to gluestate.
2001-12-09 02:46:25 +00:00
Kurt Zeilenga
bc9cee96a1
More misc MSVC changes
2001-12-09 02:43:04 +00:00