LoadBalancer uses Database::getDomainId() for deciding which keys to use
in the foreign connection handle arrays. This method should reflect any
changes made to the DB selection.
If the query fails, then do not change domain field. This is the sort of
approach that LoadBalancer is expects in openForeignConnection(). Also,
throw an exception when selectDB() fails.
The db/schema/prefix fields of Database no longer exist in favor of just
using the newer currentDomain field.
Also:
* Add IDatabase::selectDomain() method and made selectDB() wrap it.
* Extract the DB name from sqlite files if not explicitly provided.
* Fix inconsistent open() return values from Database subclasses.
* Make a relationSchemaQualifier() method to handle the concern of
omitting schema names in queries. The means that getDomainId() can
still return the right value, rather than confusingly omitt the schema.
* Make RevisionStore::checkDatabaseWikiId() account for the domain schema.
Unlike
|
||
|---|---|---|
| .. | ||
| BlobAccessException.php | ||
| BlobStore.php | ||
| BlobStoreFactory.php | ||
| DerivedPageDataUpdater.php | ||
| NameTableAccessException.php | ||
| NameTableStore.php | ||
| NameTableStoreFactory.php | ||
| PageUpdateException.php | ||
| PageUpdater.php | ||
| RevisionSlotsUpdate.php | ||
| SqlBlobStore.php | ||