honor attributes request

This commit is contained in:
Pierangelo Masarati 2003-04-15 22:43:56 +00:00
parent 1fa756cd24
commit 1f400adca7
2 changed files with 7 additions and 4 deletions

View file

@ -152,15 +152,15 @@ backsql_operational(
break;
default:
Debug(LDAP_DEBUG_TRACE,
"backsql_operational(): "
"has_children failed( %d)\n",
rc, 0, 0 );
Debug( LDAP_DEBUG_TRACE, "backsql_operational(): "
"has_children failed( %d)\n", rc, 0, 0 );
rc = 1;
break;
}
}
Debug( LDAP_DEBUG_TRACE, "<==backsql_operational()\n", 0, 0, 0);
return rc;
}

View file

@ -1268,8 +1268,11 @@ backsql_search( Operation *op, SlapReply *rs )
sres = 0;
} else {
#endif
rs->sr_attrs = op->oq_search.rs_attrs;
rs->sr_entry = entry;
sres = send_search_entry( op, rs );
rs->sr_entry = NULL;
rs->sr_attrs = NULL;
#if 0
}
#endif