git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1be6d84
)
s3-dbwrap: dbwrap_watch_record_stored => NT_STATUS_NOT_FOUND is ok...
author
Stefan Metzmacher
<metze@samba.org>
Thu, 19 Apr 2012 07:06:40 +0000
(09:06 +0200)
committer
Volker Lendecke
<vl@samba.org>
Fri, 20 Apr 2012 15:05:52 +0000
(17:05 +0200)
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Fri Apr 20 17:05:52 CEST 2012 on sn-devel-104
source3/lib/dbwrap/dbwrap_watch.c
patch
|
blob
|
history
diff --git
a/source3/lib/dbwrap/dbwrap_watch.c
b/source3/lib/dbwrap/dbwrap_watch.c
index db0d376e3ca563aa68f4991067a0aac396013ef5..0c1337153190adb2e956b4239ebbf61ba6bb820b 100644
(file)
--- a/
source3/lib/dbwrap/dbwrap_watch.c
+++ b/
source3/lib/dbwrap/dbwrap_watch.c
@@
-318,6
+318,9
@@
static void dbwrap_watch_record_stored(struct db_context *db,
status = dbwrap_record_get_watchers(db, rec, talloc_tos(),
&ids, &num_ids);
+ if (NT_STATUS_EQUAL(status, NT_STATUS_NOT_FOUND)) {
+ goto done;
+ }
if (!NT_STATUS_IS_OK(status)) {
DEBUG(1, ("dbwrap_record_get_watchers failed: %s\n",
nt_errstr(status)));