Fixed ber_bvstrdup() empty string ("") bug (ITS#1662)
Fixed back-ldbm dn normalization bug in onelevel searches (ITS#1654)
Fixed back-ldbm modrdn root dn check (ITS#1761)
+ Fixed replog logging without replica (ITS#1335)
Documentation
Updated release documents
struct replog_moddn *moddn;
char *tmp;
FILE *fp, *lfp;
- int len, i, count = 0;
+ int len, i;
if ( be->be_replogfile == NULL && replogfile == NULL ) {
return;
}
fprintf( fp, "replica: %s\n", be->be_replica[i]->ri_host );
- ++count;
}
ch_free( tmp );
- if ( count == 0 ) {
- /* if no replicas matched, drop the log
- * (should we log it anyway?) */
- lock_fclose( fp, lfp );
- ldap_pvt_thread_mutex_unlock( &replog_mutex );
-
- return;
- }
-
fprintf( fp, "time: %ld\n", (long) slap_get_time() );
fprintf( fp, "dn: %s\n", dn );