]> git.sur5r.net Git - openldap/commitdiff
ITS#5437, #5444 if numcsns don't match, set changed flag
authorHoward Chu <hyc@openldap.org>
Thu, 3 Apr 2008 08:43:48 +0000 (08:43 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 3 Apr 2008 08:43:48 +0000 (08:43 +0000)
servers/slapd/overlays/syncprov.c

index e0437de3ea917f1036e9b5b9296bc43611c33e17..9d7a9ad72154672bf4a44414170eb5de9a5fc551 100644 (file)
@@ -2243,6 +2243,9 @@ no_change:                if ( !(op->o_sync_mode & SLAP_SYNC_PERSIST) ) {
                                }
                                goto shortcut;
                        }
+               } else {
+                       /* consumer doesn't have the right number of CSNs */
+                       changed = SS_CHANGED;
                }
                /* Do we have a sessionlog for this search? */
                sl=si->si_logs;