]> git.sur5r.net Git - openldap/commitdiff
Fix prev commit
authorHoward Chu <hyc@openldap.org>
Sat, 21 Nov 2009 11:54:59 +0000 (11:54 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 21 Nov 2009 11:54:59 +0000 (11:54 +0000)
servers/slapd/overlays/syncprov.c

index 2ac8803262120141eef7686cf7e9da30ec908e4c..6e767633c3585270c9141ab78cfdc8aa4cc1aacc 100644 (file)
@@ -1671,6 +1671,7 @@ syncprov_op_response( Operation *op, SlapReply *rs )
                maxcsn.bv_len = sizeof(cbuf);
                ldap_pvt_thread_rdwr_wlock( &si->si_csn_rwlock );
 
+               slap_get_commit_csn( op, &maxcsn, &foundit );
                if ( BER_BVISEMPTY( &maxcsn ) && SLAP_GLUE_SUBORDINATE( op->o_bd )) {
                        /* syncrepl queues the CSN values in the db where
                         * it is configured , not where the changes are made.