mirror of
https://github.com/samba-team/samba.git
synced 2025-03-20 22:50:26 +03:00
mdssvc: set query state for continued queries to SLQ_STATE_RUNNING
SLQ_STATE_RESULTS implies that there are already results attached to the slq which is not the case. Instead the backend will start processing from where it left off when it hits the maximum result limit and had set the state to SLQ_STATE_FULL. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15342 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 4149ef97e5906604be1587622f390f121db183e2)
This commit is contained in:
parent
cdce89e434
commit
9d97cd0164
@ -1126,7 +1126,7 @@ static bool slrpc_fetch_query_results(struct mds_ctx *mds_ctx,
|
||||
goto error;
|
||||
}
|
||||
if (slq->state == SLQ_STATE_FULL) {
|
||||
slq->state = SLQ_STATE_RESULTS;
|
||||
slq->state = SLQ_STATE_RUNNING;
|
||||
slq->mds_ctx->backend->search_cont(slq);
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user