From: Michael Haggerty Date: Tue, 08 Jul 2014 11:53:04 GMT Subject: Re: [PATCH v20 22/48] refs.c: make ref_transaction_begin take an err argument Message-ID: <53BBDBA0.5070308@alum.mit.edu> In-Reply-To: <1403275409-28173-23-git-send-email-sahlberg@google.com> On 06/20/2014 04:43 PM, Ronnie Sahlberg wrote: > Add an err argument to _begin so that on non-fatal failures in future ref > backends we can report a nice error back to the caller. > While _begin can currently never fail for other reasons than OOM, in which > case we die() anyway, we may add other types of backends in the future. > For example, a hypothetical MySQL backend could fail in _being with s/_being/_begin/ > [...] Michael -- Michael Haggerty mhagger@alum.mit.edu