https://bugzilla.wikimedia.org/show_bug.cgi?id=40378

--- Comment #5 from Daniel Kinzler <daniel.kinz...@wikimedia.de> 2012-09-22 
19:37:30 UTC ---
(In reply to comment #4)
> Don't forget implicit transactions (DBO_TRX). They cause this error more with
> single DB setups, since getting a DB with DB_SLAVE still gives the master. 
> This
> is why I made https://gerrit.wikimedia.org/r/#/c/24655/ yesterday.

Thanks Aaron for pointing to DBO_TRX, I didn't even know that existed. Does
that mean that wfGetDB() may implicitly start a transaction? That would be
quite horrible - because that would kill any transaction that is already open!

The current transaction level and possible support (or lack of support) for
nested transactions must be considered in any such automatism. I suppose that
needs more investigation. 

(Still - note that the new warnings do not cause the actual problem with that
behavior, they just expose them).

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to