https://bugzilla.wikimedia.org/show_bug.cgi?id=47055

--- Comment #8 from Tyler Romeo <[email protected]> ---
(In reply to comment #7)
> That is wrong, because there is a rev_user = 0 on the join condition, so this
> is false for anon editing. The query should always find a user row.

"on the join condition" is the key phrase here. If rev_user = 0 were in the
WHERE clause, then that'd be true, but in an outer join, if the join condition
doesn't match, the row is still there but just has a null join. Also think
about it logically: why would Revision::fetchFromConds, the main function for
fetching revision info, only allow logged in revisions?

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to