Page MenuHomePhabricator

DatabaseMysqlBase::tableExists() ignores tablePrefix
Closed, ResolvedPublic


rMW4e4b9997493c: Improve tableExists() for MySQL introduced a more optimized tableExists() method for MySQL, but the function introduced does not honor the configured tablePrefix. This caused various unit tests to start failing, e.g.,,, because the "unittest_" prefix was not being included when things were testing for the unit test tables.

Event Timeline

Change 312018 had a related patch set uploaded (by Anomie):
Add table prefix in new MySQL tableExists()

Change 312018 merged by jenkins-bot:
Add table prefix in new MySQL tableExists()

Hmm. The errors being logged (at least for CentralAuth) changed with the fix of this bug, but didn't entirely go away.