rdbms: make LBFactory::setLocalDomainPrefix preserve the schema
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 19 Mar 2019 15:59:19 +0000 (08:59 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 19 Mar 2019 19:29:49 +0000 (12:29 -0700)
This avoids possible tests failures due to mismatched DB domain

Change-Id: Ic276d4f4567ce76ab395b6f7215242e84321f3bd

includes/libs/rdbms/lbfactory/LBFactory.php

index 9ec1ce1..007ac20 100644 (file)
@@ -634,7 +634,7 @@ abstract class LBFactory implements ILBFactory {
        public function setLocalDomainPrefix( $prefix ) {
                $this->localDomain = new DatabaseDomain(
                        $this->localDomain->getDatabase(),
-                       null,
+                       $this->localDomain->getSchema(),
                        $prefix
                );