Add notice that FOR UPDATE is incompatible with aggregates
authorLucas Werkmeister <lucas.werkmeister@wikimedia.de>
Thu, 16 May 2019 09:46:23 +0000 (11:46 +0200)
committerLucas Werkmeister <lucas.werkmeister@wikimedia.de>
Thu, 16 May 2019 09:51:43 +0000 (11:51 +0200)
commit634f0159766d60e3d8eb7a872247231622aa071b
tree760bc67ab2fa7192d16bd792721ab6320e85d9f5
parenta7551dc3d0050a7890ce3c6864af0bcddfa96074
Add notice that FOR UPDATE is incompatible with aggregates

On some database types, combining locking reads with aggregate functions
is not allowed, and MediaWiki detects such cases and logs a deprecation
warning (on all database types), so we don’t really want people to use
this even if the target database type happens to support it. Add a
warning to the documentation.

Change-Id: Ib6fd2148aeb0c94c0a13b33aec08e3308c740b01
includes/libs/rdbms/database/IDatabase.php