Last modified: 2013-10-02 21:20:45 UTC
Normally it looks sane to write: wfGetDB(DB_SLAVE)->selectSQLText('objectcache','objectcache.keyname'); but with database prefix set to "pf_", the resulting SQL becomes: SELECT objectcache.keyname FROM `pf_objectcache` which doesn't work.
in this case you must not use the full name of the column, because it is not ambigious As workaround you can set alias yourself: wfGetDB(DB_SLAVE)->selectSQLText(array( 'oc' => 'objectcache' ),'oc.keyname');
Patch set that surfaced this is Gerrit change #65477.