/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
- * Copyright 2005-2012 The OpenLDAP Foundation.
+ * Copyright 2005-2013 The OpenLDAP Foundation.
* Portions copyright 2004-2005 Symas Corporation.
* All rights reserved.
*
op2.o_bd->be_add( &op2, &rs2 );
if ( e == op2.ora_e ) entry_free( e );
e = NULL;
- if ( do_graduate )
+ if ( do_graduate ) {
slap_graduate_commit_csn( &op2 );
+ if ( op2.o_csn.bv_val )
+ op->o_tmpfree( op2.o_csn.bv_val, op->o_tmpmemctx );
+ }
done:
if ( lo->mask & LOG_OP_WRITES )
0, 0, 0 );
return -1;
}
-#ifndef LDAP_DEVEL
- (*lattrs[i].ad)->ad_type->sat_flags |= SLAP_AT_HIDE;
-#endif
}
for ( i=0; locs[i].ot; i++ ) {
0, 0, 0 );
return -1;
}
-#ifndef LDAP_DEVEL
- (*locs[i].oc)->soc_flags |= SLAP_OC_HIDE;
-#endif
}
return overlay_register(&accesslog);