diff options
author | Nathan Kinder <nkinder@redhat.com> | 2008-01-24 17:54:56 +0000 |
---|---|---|
committer | Nathan Kinder <nkinder@redhat.com> | 2008-01-24 17:54:56 +0000 |
commit | 8ccabb1c7a14e377791c2d5be11540c8f54f4f89 (patch) | |
tree | 0de86f114893ae9ed32c440ad01dbfb3c270dfc1 | |
parent | ec9124a3321fc584181a875ac385626f12ab2b30 (diff) | |
download | ds-8ccabb1c7a14e377791c2d5be11540c8f54f4f89.tar.gz ds-8ccabb1c7a14e377791c2d5be11540c8f54f4f89.tar.xz ds-8ccabb1c7a14e377791c2d5be11540c8f54f4f89.zip |
Resolves: 429799
Summary: Allow import fifo to clear out all finished entries.
-rw-r--r-- | ldap/servers/slapd/back-ldbm/import-threads.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ldap/servers/slapd/back-ldbm/import-threads.c b/ldap/servers/slapd/back-ldbm/import-threads.c index aab8b9a3..add5170a 100644 --- a/ldap/servers/slapd/back-ldbm/import-threads.c +++ b/ldap/servers/slapd/back-ldbm/import-threads.c @@ -870,7 +870,7 @@ import_wait_for_space_in_fifo(ImportJob *job, size_t new_esize) for ( i = 0, slot_found = 0 ; i < job->fifo.size ; i++ ) { temp_ep = job->fifo.item[i].entry; if (temp_ep) { - if (temp_ep->ep_refcnt == 0 && temp_ep->ep_id < job->ready_ID) { + if (temp_ep->ep_refcnt == 0 && temp_ep->ep_id <= job->ready_ID) { job->fifo.item[i].entry = NULL; if (job->fifo.c_bsize > job->fifo.item[i].esize) job->fifo.c_bsize -= job->fifo.item[i].esize; |