Merge "rdbms: deprecate unused aggregateValue() method"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Sat, 6 Apr 2019 20:03:36 +0000 (20:03 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sat, 6 Apr 2019 20:03:36 +0000 (20:03 +0000)
1  2 
includes/libs/rdbms/database/IDatabase.php

@@@ -113,8 -113,6 +113,8 @@@ interface IDatabase 
         *   permanent as far as write tracking is concerned. This is useful for testing.
         */
        const QUERY_PSEUDO_PERMANENT = 2;
 +      /** @var int Enforce that a query does not make effective writes */
 +      const QUERY_REPLICA_ROLE = 4;
  
        /** @var bool Parameter to unionQueries() for UNION ALL */
        const UNION_ALL = true;
         * @param string $valuename
         *
         * @return string
+        * @deprecated Since 1.33
         */
        public function aggregateValue( $valuedata, $valuename = 'value' );
  
         *
         * @param callable $callback
         * @param string $fname Caller name
 -       * @return mixed
         * @since 1.28
         */
        public function onTransactionResolution( callable $callback, $fname = __METHOD__ );
         *
         * @param callable $callback
         * @param string $fname
 -       * @return mixed
         * @since 1.20
         * @deprecated Since 1.32
         */
         *
         * @param string $name Callback name
         * @param callable|null $callback Use null to unset a listener
 -       * @return mixed
         * @since 1.28
         */
        public function setTransactionListener( $name, callable $callback = null );
         * the aliases can be removed, and then the old X-named indexes dropped.
         *
         * @param string[] $aliases
 -       * @return mixed
         * @since 1.31
         */
        public function setIndexAliases( array $aliases );