From https://bugzilla.wikimedia.org/show_bug.cgi?id=71503#c1:
There is actually _some_ query code that ends up invoking code currently bound to the DBAL schema classes (the fetching of the table name). That needs to be worked around, but should be easy, esp once the tests are tagged appropriately.
Version: unspecified
Severity: normal
Whiteboard: u=dev c=backend p=3 s=2014-11-11
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=73267