Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
dbfe6b8f
Commit
dbfe6b8f
authored
Apr 29, 2003
by
Kurt Zeilenga
Browse files
computed and undefined filter indexing fixes
parent
879833d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/back-bdb/filterindex.c
View file @
dbfe6b8f
...
...
@@ -58,6 +58,20 @@ bdb_filter_candidates(
#endif
switch
(
f
->
f_choice
)
{
case
SLAPD_FILTER_COMPUTED
:
switch
(
f
->
f_result
)
{
case
LDAP_COMPARE_FALSE
:
BDB_IDL_ZERO
(
ids
);
break
;
case
LDAP_COMPARE_TRUE
:
{
struct
bdb_info
*
bdb
=
(
struct
bdb_info
*
)
op
->
o_bd
->
be_private
;
BDB_IDL_ALL
(
bdb
,
ids
);
}
break
;
case
SLAPD_COMPARE_UNDEFINED
:
break
;
}
break
;
case
SLAPD_FILTER_DN_ONE
:
#ifdef NEW_LOGGING
LDAP_LOG
(
INDEX
,
ARGS
,
"=> bdb_filter_candidates:
\t
DN ONE
\n
"
,
0
,
0
,
0
);
...
...
@@ -483,6 +497,7 @@ equality_candidates(
if
(
rc
==
DB_NOTFOUND
)
{
BDB_IDL_ZERO
(
ids
);
rc
=
0
;
break
;
}
else
if
(
rc
!=
LDAP_SUCCESS
)
{
#ifdef NEW_LOGGING
LDAP_LOG
(
INDEX
,
RESULTS
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment