Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 313597 Details for
Bug 458135
Sort control message should not be logged for internal operations
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
CVS Diffs
diffs.txt (text/plain), 1.61 KB, created by
Nathan Kinder
on 2008-08-06 16:28:05 UTC
(
hide
)
Description:
CVS Diffs
Filename:
MIME Type:
Creator:
Nathan Kinder
Created:
2008-08-06 16:28:05 UTC
Size:
1.61 KB
patch
obsolete
>Index: ldap/servers/slapd/back-ldbm/ldbm_search.c >=================================================================== >RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/back-ldbm/ldbm_search.c,v >retrieving revision 1.13 >diff -u -5 -t -r1.13 ldbm_search.c >--- ldap/servers/slapd/back-ldbm/ldbm_search.c 30 Jun 2008 17:28:16 -0000 1.13 >+++ ldap/servers/slapd/back-ldbm/ldbm_search.c 6 Aug 2008 16:27:28 -0000 >@@ -476,13 +476,16 @@ > */ > > char *sort_error_type = NULL; > int sort_return_value = 0; > >- /* Log to the access log the particulars of this sort request */ >- /* Log message looks like this: SORT <key list useful for input to ldapsearch> <#candidates> | <unsortable> */ >- sort_log_access(pb,sort_control,candidates); >+ /* Don't log internal operations */ >+ if (!operation_is_flag_set(operation, OP_FLAG_INTERNAL)) { >+ /* Log to the access log the particulars of this sort request */ >+ /* Log message looks like this: SORT <key list useful for input to ldapsearch> <#candidates> | <unsortable> */ >+ sort_log_access(pb,sort_control,candidates); >+ } > sort_return_value = sort_candidates( be, lookthrough_limit, time_up, pb, candidates, sort_control, &sort_error_type ); > /* Fix for bugid # 394184, SD, 20 Jul 00 */ > /* replace the hard coded return value by the appropriate LDAP error code */ > switch (sort_return_value) { > case LDAP_SUCCESS: /* Everything OK */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 458135
: 313597