wiki.techinc.nl/tests
Aaron Schulz e59b0556f4 rdbms: make DOMAIN_ANY ignore bogus MySQL DB names in config
This regressed in 14ee3f2, trying to select the server config
"dbname" value as the database on connect. If that config is
bogus, then the connection attempt would fail. Instead, always
pass null to the driver's connection function if the DB domain
doesn't matter.

This affected WMF sites during lag checks, on account of the
"serverTemplate" value in $wgLBFactoryConf always using the local
wiki domain (whether the cluster had such a database or not).

Use strlen() as mysqli sees null and "" as the same for $dbname.

Bug: T186764
Change-Id: I6699d17c0125a08415046211fee7906bbaf2c366
2018-02-09 06:43:24 +00:00
..
common Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
integration/includes Fix invocation of MWHttpRequest::factory with one argument. 2018-01-31 23:08:22 -08:00
parser Add 'unwrap' ParserOutput post-cache transform 2018-02-01 14:24:27 -08:00
phan Phan: resolve and reenable PhanAccessMethodProtected 2018-01-23 09:31:13 -08:00
phpunit rdbms: make DOMAIN_ANY ignore bogus MySQL DB names in config 2018-02-09 06:43:24 +00:00
qunit Merge "mediawiki.api.edit: Fix errors" 2018-02-02 23:28:14 +00:00
selenium Revert "selenium: add new message banner test to user spec" 2018-01-29 20:41:21 +00:00
.htaccess