https://bugzilla.wikimedia.org/show_bug.cgi?id=71767
--- Comment #4 from Robert Morley <robinhoo...@live.ca> --- I only glanced at it, but your updated code looks like it'll resolve both the problem I reported and another one (with $sqlLimit) that I noticed just after I posted. As far as the approach goes, I understand the potential performance hit. (I was a DBA for most of my career.) On the flip side, though, returning a cross-join with a lot of duplicated data can also incur a performance hit, so depending on the database internals, it might well be less expensive to do two queries, particularly when the explicit groups query is likely to be very small. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l