On Fri, Apr 4, 2008 at 3:49 PM, <catrope(a)svn.wikimedia.org> wrote:
> Revision: 32782
> Author: catrope
> Date: 2008-04-04 13:49:56 +0000 (Fri, 04 Apr 2008)
>
> Log Message:
> -----------
> Actually, let's have that commit() call there anyway, the way it currently works relies on the fact that internalAttemptSave() schedules deferred updates, which may change.
>
I think we should implement our own update mechanism for the API.
ApiMain::requestWriteMode() should call $dbw->begin() and
$bdw->commit() should be called by some finalizer method.
Bryan