]> git.ipfire.org Git - thirdparty/samba.git/commit
lib: Enable watching and storing dbwrap_watch records.
authorVolker Lendecke <vl@samba.org>
Tue, 13 Aug 2019 12:18:05 +0000 (14:18 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 17 Sep 2019 22:49:39 +0000 (22:49 +0000)
commit15a8af075a2d7b59f4d97d9804599b26325e5640
tree7371e214bcc9f014dad246bd30725afbf221095a
parent72ac1764d69e165052220f2c1b5bc0d5613ef201
lib: Enable watching and storing dbwrap_watch records.

Samba so far on a dbwrap_watch record either watches or stores a
record, but never both from the same db_record instance acquired from
a dbwrap_fetch_locked(). In one of the next commits this will change,
we will watch a record and at the same time store data into it. This
patch enables a watch_send() followed by a storev() by properly
keeping the watchers around.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/lib/dbwrap/dbwrap_watch.c