Pierangelo Masarati
afd0037eda
Fixes ITS#1433
2001-11-12 17:12:43 +00:00
Kurt Zeilenga
f8611a1296
Don't use indices to support not [!] filters.
...
Use pres indices to support LE/GE [<=,>=] filters.
2001-11-05 17:25:44 +00:00
Howard Chu
e47e31ad0a
Fix for dbnosync - DB_TXN_NOSYNC is not a valid flag for dbenv_open,
...
must be set later using dbenv_set_flags.
2001-11-05 07:01:12 +00:00
Howard Chu
09cddf9188
Ported referral patches from back-ldbm. I believe search.c still needs
...
the patch from ITS#1289 to be ported here.
2001-11-05 06:24:11 +00:00
Julio Sánchez Fernández
aee598dba7
Remove bogus refusal to index ;binary attributes. Notice that I left
...
in a check. This way you have to say:
index userCertificate eq
If we remove it, we could say:
index userCertificate;binary eq
I have not tried the latter.
2001-10-23 13:42:37 +00:00
Julio Sánchez Fernández
bf5ea315b6
Compares get values in the matching rule syntax (see RFC2251, 4.1.7),
...
so we need to tell value_find about this.
2001-10-23 09:48:18 +00:00
Howard Chu
0185b79559
Don't free entries since the tools realloc the buffers.
2001-10-22 15:58:44 +00:00
Howard Chu
11d884b8cf
Fix some uninitialized variables
2001-10-22 15:57:58 +00:00
Howard Chu
c05de965b5
Moved binary entry_encode/entry_decode into main code. Removed lber version.
2001-10-22 14:07:42 +00:00
Howard Chu
0e16f6acf9
Moved AttributeDescription caching into main code:
...
Changed AttributeDescription.{ad_cname,ad_lang} to struct berval everywhere
Deleted ad_free() everywhere
Added ad_mutex to init.c
The AttributeDescriptions are in a linked list hanging off of the
corresponding AttributeType.
2001-10-22 13:23:05 +00:00
Howard Chu
ce6243f009
Patches for modify/modrdn to work with BDB_USE_BINARY_RW.
2001-10-19 20:28:48 +00:00
Howard Chu
98d6a4f2bf
Added new bdb_encode/bdb_decode functions, must #define BDB_USE_BINARY_RW
...
to activate. The bdb_decode works in-place on the db data. Add/Search are
OK, I think Modify needs to be tweaked. Don't use this yet unless you want
to help finish it.
2001-10-19 11:53:15 +00:00
Kurt Zeilenga
d6730e5f50
BDB updates... haven't had a chance to work on this for a while,
...
committin what I have so that someone else might be able to work it.
2001-10-13 16:55:54 +00:00
Kurt Zeilenga
78adfde54e
BDB_INDEX code does no harm (but no good yet, not used by filters yet).
2001-10-05 20:12:16 +00:00
Kurt Zeilenga
9f1fc48659
Another round. BDB_INDEX almost ready for functional testing.
2001-10-05 17:00:21 +00:00
Kurt Zeilenga
96e0038832
Initial idl fetch code, undef BDB_INDEX for now, other cleanup
2001-10-05 01:19:58 +00:00
Kurt Zeilenga
5160da05e5
Add some initial BDB_INDEX code... needs much work.
2001-10-04 22:29:34 +00:00
Kurt Zeilenga
3120d37951
More changes to let BDB build without LDBM.
2001-10-04 06:34:03 +00:00
Kurt Zeilenga
9b98f46a5e
Add prelim index code from LDBM, needs work...
2001-10-04 02:55:09 +00:00
Kurt Zeilenga
433eb73ef8
Add BDB_INDEX error handling
2001-10-03 23:49:38 +00:00
Kurt Zeilenga
3ad55b225e
Add error handling to BDB_INDEX code
2001-10-03 23:39:29 +00:00
Kurt Zeilenga
191853eb51
An incremental step.
2001-10-03 23:28:20 +00:00
Kurt Zeilenga
0135c8dbb1
Add BDB index config code
2001-10-03 21:11:52 +00:00
Kurt Zeilenga
292b6c8757
Replace #if 0 with #if MACRO
2001-10-03 20:34:00 +00:00
Kurt Zeilenga
86a680a4ec
Enable management of attribute indices. Not yet used by test_filter.
2001-10-03 20:20:29 +00:00
Pierangelo Masarati
8a3768276a
candidate check using new macro from Kurt
2001-10-02 19:15:05 +00:00
Kurt Zeilenga
773b1907d2
Add BDB_IDL_N() macro for ando
2001-10-02 19:04:12 +00:00
Pierangelo Masarati
becb7ff0ce
forward porting of time/size limits from back-ldbm (pending the definition of the most appropriate way to determine the number of candidates)
2001-10-02 12:00:01 +00:00
Pierangelo Masarati
4ac9b37db7
forward porting of empty parent dn checks from back-ldbm
2001-10-02 10:44:14 +00:00
Pierangelo Masarati
5544720505
forward porting of composite rdn handling from back-ldbm
2001-10-02 10:39:04 +00:00
Kurt Zeilenga
c45a6f5c23
Fix up binary search
2001-09-26 03:50:48 +00:00
Kurt Zeilenga
5f4d8a71e6
Use a 64MB stack (instead of a 64K on some systems) by default.
...
This should be tunable...
2001-09-26 02:35:41 +00:00
Kurt Zeilenga
8c758b34f8
Fix build errors
2001-09-26 01:54:39 +00:00
Kurt Zeilenga
37d44620a5
idl_check for back-bdb
2001-09-25 23:56:49 +00:00
Kurt Zeilenga
50223981d9
Fix typo
2001-07-31 07:53:21 +00:00
Kurt Zeilenga
b09727567d
Clean up
2001-07-31 04:55:14 +00:00
Kurt Zeilenga
60c4893b93
Last changes should have been #ifdef
2001-07-31 04:30:11 +00:00
Kurt Zeilenga
0bcc892fdf
Fix basic operations
2001-07-31 04:24:29 +00:00
Kurt Zeilenga
ca7ba1a3fd
Fix slapadd crash when only a subset of databases have been initialized.
...
Likely should have a general solution to this.
2001-07-31 00:16:44 +00:00
Kurt Zeilenga
bee0650d9c
Work in progress codes. !UNTESTED!
2001-06-15 07:08:37 +00:00
Kurt Zeilenga
5eaa8fc85f
Fix error text bugs
2001-03-15 03:02:23 +00:00
Kurt Zeilenga
e0e0b255f7
Fix typo in $SRCS
2001-03-15 03:01:54 +00:00
Kurt Zeilenga
468664c443
Adjust result code when entry is not found to noSuchObject
2000-10-11 18:19:26 +00:00
Kurt Zeilenga
492bb0263f
Fix thread handling and error printing
2000-10-01 19:21:07 +00:00
Kurt Zeilenga
bd9e1b772c
Fix no_threads build
2000-09-30 01:04:43 +00:00
Kurt Zeilenga
283a8f1b4f
Add dead lock detection thread.
2000-09-29 00:18:29 +00:00
Kurt Zeilenga
160bf00975
Disable debugging
2000-09-28 22:25:19 +00:00
Kurt Zeilenga
11ba8fcf8f
report retries
2000-09-28 18:29:50 +00:00
Kurt Zeilenga
819b5303da
Add txn_checkpoint()'ing
...
disable moddn/newSuperior (needs re'IDing)
2000-09-28 04:09:13 +00:00
Kurt Zeilenga
f106722ebf
working modrdn...
...
(need to fix leaks on transaction retries)
2000-09-28 02:42:20 +00:00