• It's basically doing a cross join. Maybe the author didn't know about that option.

    I haven't seen any instance when people use 1=1 by mistake. It's deliberate CROSS JOIN (just to skip code review tools / team leads 😉 )