User "^demon" changed the status of MediaWiki.r97201.

Old Status: new
New Status: ok

User "^demon" also posted a comment on MediaWiki.r97201.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/97201#c23323
Commit summary:

buildMainQueryConds() (called by assertConditions) uses a wfGetDB( DB_SLAVE )
Although no data is transmitted to/from the server (create a DB_NONE?)

Comment:

I have desired DB_NONE-type behavior before. Sometimes you just want the 
relevant DB object without actually having a connection to the underlying 
object.

You can do it with DatabaseBase::factory(), but it's not pretty.

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to