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

--- Comment #6 from Daniel Kinzler <[email protected]> 2012-10-02 
16:21:50 UTC ---
After looking through the code with jeroen, I guess what is happening is this:

SMWStore::updateData calls Database::update, which starts an automatic
transaction (because of DBO_TRX) and marks it as having done write operations.
Then, some time later, EditPage::commitWatch tries to explicitely starts a
transaction, which triggers the warning.

It seems that the idea of warning about automatically committing transactions
if they have done write operations does not solve our problem. We have to
either disable the warnings completely if DBO_TRX is enabled, or at least
disable them for implicit transactions that were started because of DBO_TRX.
trxLevel = -1 could be used for that - a bit hackish, but should work.

Aaron, what do you think?

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

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to