Greg Sabino Mullane schreef:
Revision: 34388 `ug1`.`ug_user`=`user_id`";
Ugh. Please don't hardcode backticks: not only are they unneeded here, but they horribly break any chance we have of cross-database compatibility.
They're far from unneeded. Database::select() is broken in that it adds the backticks wrongly, generating invalid SQL [1]. I'll poke dantman to fix this, but in the meantime we should have a working API.
Roan Kattouw (Catrope)
[1] http://www.mediawiki.org/wiki/User_talk:Catrope#API_probleem