git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6d880a
)
s3: lib: dbwrap_ctdb: Ensure value_valid is set true if we find the record in the...
author
Jeremy Allison
<jra@samba.org>
Fri, 10 Jan 2020 23:52:31 +0000
(15:52 -0800)
committer
Jeremy Allison
<jra@samba.org>
Mon, 13 Jan 2020 19:41:34 +0000
(19:41 +0000)
Found by "Christopher O Cowan - Christopher.O.Cowan@ibm.com" <Christopher.O.Cowan@ibm.com>
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/lib/dbwrap/dbwrap_ctdb.c
patch
|
blob
|
history
diff --git
a/source3/lib/dbwrap/dbwrap_ctdb.c
b/source3/lib/dbwrap/dbwrap_ctdb.c
index ef66726135981c55354f15e603418f6d3e6ee9f4..11710603a5e960ceffd60fae09360be8d21e2157 100644
(file)
--- a/
source3/lib/dbwrap/dbwrap_ctdb.c
+++ b/
source3/lib/dbwrap/dbwrap_ctdb.c
@@
-534,6
+534,7
@@
static struct db_record *db_ctdb_fetch_locked_transaction(struct db_ctdb_ctx *ct
}
if (pull_newest_from_marshall_buffer(ctx->transaction->m_write, key,
NULL, result, &result->value)) {
+ result->value_valid = true;
return result;
}