[Koha-bugs] [Bug 35921] Improve perfs of acqui-home.pl when there are many budgets

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 23 13:04:53 CET 2024


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

--- Comment #6 from Pedro Amorim <pedro.amorim at ptfs-europe.com> ---
(In reply to Julian Maurice from comment #5)
> (In reply to Pedro Amorim from comment #4)
> > Hi Julian, I've SOed and provided a follow-up.
> > Please take a look and see if you agree, or make it obsolete if not.
> There is a small difference between your code and mine: in yours, if
> budget_owner_id does not correspond to an existing borrower, it will
> repeatedly try to fetch it. As there is no foreign key constraint on
> budget_owner_id, it can happen.
> Quite an edge case, but certainly possible.
> I'll let QA decide

No, you're right. The point of the patch was to optimize code without changing
behavior, but it does. I've made it obsolete!

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list