Commit be876edd authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

fix ITS#3488

parent 959e9e67
......@@ -7,6 +7,7 @@ OpenLDAP 2.2.21 Engineering
Fixed back-bdb entry e_ocflags reset on objectClass modify
Fixed back-bdb retcode on referral (ITS#3475)
Fixed back-bdb detecting deadlock in indexer (ITS#3481)
Fixed back-sql access checking on search (ITS#3488)
Build Environment
Misc fixes for dynamic modules (ITS#3401, #3428)
Documentation
......
......@@ -1720,16 +1720,11 @@ backsql_search( Operation *op, SlapReply *rs )
rs->sr_entry = NULL;
rs->sr_attrs = NULL;
switch ( sres ) {
case 0:
break;
default:
if ( sres == -1 ) {
/*
* FIXME: send_search_entry failed;
* better stop
*/
case -1:
Debug( LDAP_DEBUG_TRACE, "backsql_search(): "
"connection lost\n", 0, 0, 0 );
goto end_of_search;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment