https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20819

--- Comment #71 from Martin Renvoize <[email protected]> ---
Agreed, that test isn't testing what you think Marcel.

The ->next is chained onto the resultset inside the loop in C4::Auth whereas
the resultset is created outside of the loop in your test.

I actually don't know which is faster, but I would imagine count is a bit
faster and more memory efficient.

Try moving the queries inside the loop and test again, I'd certainly be
interested in the results.

(a correlate subquery version might be interesting too)

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to