mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 18:18:06 -05:00
Include refcnt > 0, which makes reporting of number of records to process
more correct (still doesn't account for records that won't be processed due to a restart).
This commit is contained in:
parent
5b508b89c5
commit
5e34ff9584
1 changed files with 1 additions and 1 deletions
|
|
@ -377,7 +377,7 @@ Rq_getcount(
|
|||
for ( re = rq->rq_gethead( rq ); re != NULL;
|
||||
re = rq->rq_getnext( re )) {
|
||||
if ( type == RQ_COUNT_NZRC ) {
|
||||
if ( re->re_getrefcnt( re ) > 1 ) {
|
||||
if ( re->re_getrefcnt( re ) > 0 ) {
|
||||
count++;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue