Transactions!

Max Kanat-Alexander mkanat at bugzilla.org
Fri Mar 16 05:58:01 UTC 2007


On Thu, 15 Mar 2007 17:50:55 -0700 "Benton, Kevin"
<kevin.benton at amd.com> wrote:
> You could argue that we don't have this condition today - you'd be
> right. 

	See http://www.bugzilla.org/docs/developer.html#general --

	"...many programmers are constantly solving problems that nobody
has ever experienced. Don't do that." 

> nor do we have
> documentation to help developers & reviewers to avoid it.

	You can file a bug for "please add two sentences to the
documentation of bz_rollback_transaction specifying that it should only
be used in Bugzilla::_cleanup() and throw_error, and that developers
must not rely on it for correctness."

	-Max
-- 
http://www.everythingsolved.com/
Competent, Friendly Bugzilla Services. And Everything Else, too.



More information about the developers mailing list