Howard Chu
c825edf67e
ITS#8989 fix bitshift integer overflow
2019-03-10 14:26:08 +00:00
Ondřej Kuzník
117dcbc54d
Silence compiler warnings
2019-02-19 10:28:08 +00:00
Ondřej Kuzník
f4a68297a0
Actually check for mi->bi_extra
2019-02-19 10:28:08 +00:00
Ondřej Kuzník
97a310b312
ITS#8731 Apply doc/devel/variadic_debug/04-variadic.cocci
2019-02-15 16:51:53 +00:00
Ondřej Kuzník
129dcfbd86
ITS#8731 General Debug() related fixes
2019-02-15 16:51:53 +00:00
Howard Chu
a70b887e6c
ITS#8977 fix prev commit
2019-02-15 16:12:41 +00:00
Howard Chu
c8b806b676
ITS#8977 make IDL size configurable
2019-02-15 14:37:51 +00:00
Howard Chu
6e2bac6465
ITS#7770 schema fixup
2019-02-04 02:50:17 +00:00
Howard Chu
e19c683c41
ITS#7770 add mdb_stat info to cn=monitor
2019-02-03 11:08:24 +00:00
Howard Chu
7b587018ec
ITS#8472 only do index cleanup if DB is running
2019-01-25 18:11:58 +00:00
Quanah Gibson-Mount
b45a6a7dc7
Happy New Year!
2019-01-14 18:46:16 +00:00
Howard Chu
dd760f2abc
More for NULL modrdn modlist
2018-12-22 12:58:08 -08:00
Howard Chu
48461cbf7f
Allow NULL modlist in modrdn
...
For compat with MSAD which doesn't add the naming attribute to
the entry during a rename
2018-12-22 09:00:34 -08:00
Quanah Gibson-Mount
3add82a3bb
ITS#8286 -- Add matching rules for attributes
...
Add matching rules for all cases where it was missing. Cleanup
incorrect types for a few attributes as well. Fix network-timeout
handling in back-ldap/meta/asyncmeta.
2018-12-18 19:14:06 +00:00
Howard Chu
a29391d495
More for multival
...
fix index record detection
2018-09-01 13:07:58 +01:00
Howard Chu
ba80b97505
Fix index delete
...
Deleting all indices should also reset default mask
2018-08-31 14:33:22 +01:00
Howard Chu
83acffd83c
More for multival
...
Fix clashes with index records
2018-08-31 14:27:23 +01:00
Howard Chu
8ec9a3bcca
More for multival
...
Tweak config validity check
2018-08-30 15:47:16 +01:00
Howard Chu
111329a2dc
More for back-mdb multival
...
Allow configuring thresholds for specific attributes
2018-08-30 11:24:25 +01:00
Howard Chu
776de6d796
More for back-mdb multival
...
Make sure a->a_numvals matches id2v counts
2018-07-18 17:58:10 +01:00
Howard Chu
8568716376
ITS#8868 don't convert IDL to range needlessly
...
in idl_intersection. It may lose precision in a subsequent union.
2018-06-22 00:31:04 +01:00
Quanah Gibson-Mount
59e9ff6243
Happy New Year
2018-03-22 15:35:24 +00:00
Howard Chu
8300eee017
back-mdb Multival fixes
...
Fix multival logic on Replace
Fix return codes from modify_internal, id2entry_put
2018-02-28 22:37:38 +00:00
sca+openldap@andreasschulze.de
90835da72f
ITS#8578 - remove unused-variables in RE24 testing call (2.4.45)
2017-10-06 10:45:08 -07:00
Quanah Gibson-Mount
41a9010773
The support for unindexed attributes being tracked in back-monitor needs
...
to remain behind LDAP_DEVEL for now. Right now, the mutex in
back-monitor cannot properly handle the load if the server had a lot
of unindexed attributes that were being accessed in search filters.
2017-09-26 11:04:45 -07:00
Howard Chu
221dd43399
ITS#8226 optimization
...
Don't release read txn unless there has actually been a new write txn
2017-08-01 22:08:50 +01:00
Howard Chu
5bd89a1f1f
Cleanup uninit'd vars
2017-08-01 21:47:15 +01:00
Howard Chu
375db33d13
ITS#8678 temporary hack
2017-06-22 18:09:48 +01:00
Ryan Tandy
0cee1ffb60
ITS#8655 fix double free on paged search with pagesize 0
...
Fixes a double free when a search includes the Paged Results control
with a page size of 0 and the search base matches the filter.
2017-05-20 18:28:54 +00:00
Ondřej Kuzník
e56a849e5d
ITS#8625 Separate Avlnode and TAvlnode types
...
Switch AVL_CHILD/AVL_THREAD values and set Avlnode bits to AVL_CHILD for
better compatibility between avl and tavl as suggested by Howard.
2017-03-29 14:52:44 +01:00
Howard Chu
2e9f95cbac
More for large multival attrs
...
Fix 2335285502
Use custom dupsort function, pass attributeDescription in so
it can use the actual matching rule for sorting.
2017-01-26 10:58:55 +00:00
Quanah Gibson-Mount
1df85d3427
Happy New Year!
2017-01-03 12:36:47 -08:00
Howard Chu
e3c8beb8d0
Fix its6794 test
...
Must NULL out indexing cursors when closing tool txn
2016-12-21 14:39:47 +00:00
Quanah Gibson-Mount
131203ec5d
More for multival attrs
...
check for enumerated delete that deletes all values
2016-11-03 15:50:26 -07:00
Howard Chu
5e6aadd779
More for multival attrs
...
Fix id2entry_delete when deleting last multival entry in DB
2016-07-22 10:30:57 +01:00
Howard Chu
3d5601e0ba
Fix a4c7943d39
...
Modify/replace was broken if attr didn't already exist
2016-07-21 00:36:32 +01:00
Howard Chu
2335285502
More for large multival attrs
...
We can't persist the sorted flag since the sort order between
DB and attr schema don't necessarily agree
2016-04-01 18:49:59 +01:00
Howard Chu
76d9be0196
More for large multival attrs
...
Fix a4c7943d39 entry delete
Ignore when id2v table is empty
2016-02-05 21:59:43 +00:00
Howard Chu
a4c7943d39
Large multivalued attr support
...
Store attrs with a large number of values separately from the
main entry blob. Note - we need support for large DUPSORT values
for this to be generally usable.
2016-01-31 15:35:11 +00:00
Quanah Gibson-Mount
6c4d6c880b
Happy New Year!
2016-01-29 13:32:05 -06:00
Howard Chu
4a9f4439be
ITS#8360 tweak for LDAP_TXNs too
2016-01-26 13:39:53 +00:00
Howard Chu
4001eb054f
ITS#8360 fix ad info after failed txn
...
If an add or modify op referenced a previously unused attrtype,
the mi_ads/mi_numads would be incremented to include it. If the
op fails to commit, these additions must also be reverted.
2016-01-26 13:33:24 +00:00
Ondřej Kuzník
085eb2e8df
ITS#8215 Add mdb tool delete support
2015-10-25 09:04:21 +00:00
Ondřej Kuzník
f1cd76db75
ITS#8215 Use the correct transaction
2015-10-25 09:01:22 +00:00
Howard Chu
86ae4e0126
ITS#8226 leave nested ops alone
2015-08-31 14:55:35 +01:00
Howard Chu
35f17e023d
ITS#8226 revert unintended commit
2015-08-30 05:01:59 +01:00
Howard Chu
21bf33b0e8
ITS#8226 limit size of read txns in searches
2015-08-30 04:54:22 +01:00
Howard Chu
afa9a9c3e0
Use batched write txns in refresh
...
Experimental - write 500 updates per txn instead of 1:1
2015-08-14 17:43:03 +01:00
Howard Chu
fa705a1814
ITS#8203 plug leak in prev commit
2015-07-24 19:32:19 +01:00
Howard Chu
3033f89eef
ITS#8203 more fixes for #8036/#7904.
2015-07-24 18:35:28 +01:00