Commit 5e34ff95 authored by Randy Kunkee's avatar Randy Kunkee
Browse files

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).
parent 5b508b89
...@@ -377,7 +377,7 @@ Rq_getcount( ...@@ -377,7 +377,7 @@ Rq_getcount(
for ( re = rq->rq_gethead( rq ); re != NULL; for ( re = rq->rq_gethead( rq ); re != NULL;
re = rq->rq_getnext( re )) { re = rq->rq_getnext( re )) {
if ( type == RQ_COUNT_NZRC ) { if ( type == RQ_COUNT_NZRC ) {
if ( re->re_getrefcnt( re ) > 1 ) { if ( re->re_getrefcnt( re ) > 0 ) {
count++; count++;
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment