mdssvc: set query state for continued queries to SLQ_STATE_RUNNING
authorRalph Boehme <slow@samba.org>
Wed, 19 Apr 2023 12:38:45 +0000 (14:38 +0200)
committerJule Anger <janger@samba.org>
Mon, 31 Jul 2023 08:08:13 +0000 (08:08 +0000)
commit9d97cd01641949e34b34149b0a9141d0e8391b93
treee9248ac8cdd47fc8bf4273d6ca1597d9f3619a3e
parentcdce89e434e258dcf6d58e8510b2f5bf42841932
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)
source3/rpc_server/mdssvc/mdssvc.c