Deprecate IDatabase::implicitGroupby()
authorAaron Schulz <aschulz@wikimedia.org>
Sat, 9 Sep 2017 21:35:58 +0000 (14:35 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Sat, 9 Sep 2017 21:35:58 +0000 (14:35 -0700)
Even newer mariadb versions default to only_full_group_by,
putting it in the same boat as mssql, postgres, and sqlite.

Change-Id: I465406e7c96ec2db1578c73d80c28ad41708c6a0

includes/libs/rdbms/database/IDatabase.php

index 0283c4b..78889e5 100644 (file)
@@ -206,6 +206,7 @@ interface IDatabase {
         * Returns true if this database does an implicit sort when doing GROUP BY
         *
         * @return bool
+        * @deprecated Since 1.30; only use grouped or aggregated fields in the SELECT
         */
        public function implicitGroupby();