[PATCHES] introduce dbwrap_purge[_bystring]
obnox at samba.org
Sun Feb 28 11:46:59 UTC 2016
On 2016-02-25 at 17:45 +0100, Michael Adam wrote:
> dbwrap_delete* return NT_NSTATUS_NOT_FOUND if the record
> to delete does not exist. Sometimes all one wants is that
> the record does not exist after the function returns.
> So some callers map NT_STATUS_NOT_FOUND to NT_STATUS_OK
> after the call.
> Attached find a small patchset that introduces new
> util functions dbwrap_purge (and dbwrap_purge_bystring)
> that do exactly that mapping, and adapts all callers
> that do this to use the new functions instead.
> There are not so many yet, but I plan to add mode in
> patches that are currently in prepration.
> Is dbwrap_purge a good name?
> One additional patch fixes/improves one
> debug message in dbwrap.
> Review appreciated!
Cheers - Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: not available
More information about the samba-technical