Howard Chu
eab49fe5da
Cleanup lint
2002-01-19 04:50:26 +00:00
Howard Chu
e040c2dee0
Fix previous commit
2002-01-19 04:32:43 +00:00
Howard Chu
d9a9899937
Don't free bv_vals that were passed to ber_bvarray_add.
2002-01-19 04:28:45 +00:00
Howard Chu
306e15d3bd
Use calloc for new Entries, take care of new e_ocflags field
2002-01-19 04:28:07 +00:00
Howard Chu
480d50d883
Fix previous commit
2002-01-19 03:50:37 +00:00
Howard Chu
44f0efb44f
Defined some ObjectClass->soc_flags values, changed is_entry_*objectclass
...
macros to use flags
2002-01-19 02:58:00 +00:00
Kurt Zeilenga
ccc4e64f0a
Fix up duplicate error reporting
2002-01-19 02:20:46 +00:00
Kurt Zeilenga
960fa831a6
Add checks for duplicate values.
2002-01-19 01:56:57 +00:00
Kurt Zeilenga
014ea5f486
Add checks for duplicate values
2002-01-19 01:56:35 +00:00
Kurt Zeilenga
4468ffa9e0
Remove some lint.
2002-01-19 01:54:56 +00:00
Kurt Zeilenga
819ffa1c37
Limit slurpd friendly code to replication user.
2002-01-18 22:01:29 +00:00
Kurt Zeilenga
5e3db3d05b
Add a fourth add thread
2002-01-18 17:55:05 +00:00
Kurt Zeilenga
9ff7e0d263
Fix compilation error
2002-01-18 17:04:29 +00:00
Howard Chu
5ab0d4af84
Added ldap_pvt_thread_yield() after txn_abort
2002-01-18 13:34:50 +00:00
Howard Chu
cf8349f895
Added "fewest" lockdetect keyword, to abort txn with fewest locks
2002-01-18 13:32:01 +00:00
Howard Chu
9f1591d5e9
Use DB_RMW in idl_fetch_key if called as part of a txn.
2002-01-18 13:29:10 +00:00
Howard Chu
7db33f87a9
Do deadlock detection on any conflict, instead of in a separate thread
2002-01-18 13:28:07 +00:00
Howard Chu
6d58126c34
Added compatibility macros for BDB3/4 lock_get, txn_id.
2002-01-18 13:27:25 +00:00
Howard Chu
32cafeb525
Add missing newline at EOF
2002-01-18 04:50:34 +00:00
Howard Chu
6bfe37bdf5
In UTF8StringValidate, 1-byte chars are already validated
2002-01-18 04:49:55 +00:00
Howard Chu
89abf8bbb0
Change to use dn_match
2002-01-18 04:48:58 +00:00
Howard Chu
26d0410de0
Cleanup while loops in dn2id_add/delete
2002-01-17 23:45:40 +00:00
Howard Chu
25cd89b443
Use ber_scanf 'm' format for ignored UDP string
2002-01-17 23:30:05 +00:00
Pierangelo Masarati
9b4f933649
dn_parent => dnParent
2002-01-17 22:47:55 +00:00
Pierangelo Masarati
e6332812e0
another round replacing dn_parent ...
2002-01-17 22:37:38 +00:00
Pierangelo Masarati
3894bd332b
fix dnParent to return '' if the dn is a rdn
2002-01-17 22:36:53 +00:00
Pierangelo Masarati
4624bbafba
another round replacing dn_parent ...
2002-01-17 19:58:19 +00:00
Pierangelo Masarati
861e9a66b5
fix uninitialized pointer (ITS#1538)
2002-01-17 19:33:48 +00:00
Pierangelo Masarati
d70f117b69
first round at eliminating dn_parent ...
2002-01-17 19:05:21 +00:00
Kurt Zeilenga
e25f6ef0cd
Add a safety check to bvcasechr
2002-01-17 17:19:20 +00:00
Pierangelo Masarati
1ea0d20e82
publish dnParent()
2002-01-17 17:04:11 +00:00
Howard Chu
5c2bc277b8
In db_destroy, cannot checkpoint a NULL dbenv.
2002-01-17 10:05:04 +00:00
Howard Chu
f2f6c516ab
DB_NODUPDATA is not a valid open flag
2002-01-17 09:48:44 +00:00
Kurt Zeilenga
929abbc97f
Run the lock detector
2002-01-17 05:36:47 +00:00
Kurt Zeilenga
3ad2bd3f56
Add a third entry...
2002-01-17 05:08:26 +00:00
Kurt Zeilenga
dedc813a7e
Add section add.
2002-01-17 04:43:39 +00:00
Kurt Zeilenga
492762f1c5
Don't use BDB group/attribute callbacks as they may cause deadlock.
...
Add code to bdb_attribute and bdb_group where use TXN id and to
provide error, but need to rework callers (and their callers) to
ensure error is properly bubbled up to the backend operation routine
handling the transaction. Ugh.
2002-01-17 03:58:52 +00:00
Kurt Zeilenga
32b955cfc5
replace strcasechr with bvcasechr
2002-01-17 00:18:57 +00:00
Kurt Zeilenga
1b6811d759
Reverse ber_strccmp assertion order to avoid ""[1] problems
2002-01-16 19:31:25 +00:00
Pierangelo Masarati
52b05a5b06
more ber_*cmp optimizations
2002-01-16 19:18:41 +00:00
Kurt Zeilenga
b48c355934
Fix up last commit
2002-01-16 19:03:31 +00:00
Pierangelo Masarati
1092fcfed8
remark for future (questionable) optimization
2002-01-16 18:51:20 +00:00
Pierangelo Masarati
0842db2a8b
fix ber_*str renaming
2002-01-16 18:50:45 +00:00
Kurt Zeilenga
7f0289a390
Move most of the new ber_*cmp routines to lber_pvt.h to keep them private,
...
rework them slightly to avoid computations which might result in underflow.
Rename them for consistency with other berval routines.
Remove some utf8 lint.
2002-01-16 18:16:15 +00:00
Howard Chu
356a98a363
Fix bdb_idl_fetch/insert_key. Still fails test011.
2002-01-16 15:22:08 +00:00
Pierangelo Masarati
8f29c5e1e4
use dn_match
2002-01-16 12:15:27 +00:00
Pierangelo Masarati
3d9377f764
compare attribute type, not value
2002-01-16 12:06:42 +00:00
Pierangelo Masarati
af54eed042
added ber_[mem|case]cmp() macros for fast berval comparison; extensively used in acl and in dn_match macro at present
2002-01-16 11:36:47 +00:00
Pierangelo Masarati
5c1d9b4fce
fix assertion
2002-01-16 10:58:04 +00:00
Howard Chu
457b00bf0f
Fix idl_insert_key with USE_INDIRECT_NIDS, wasn't setting NIDS...
2002-01-16 09:58:11 +00:00