]> git.koha-community.org Git - koha.git/commit
Bug 19599: Speed anonymise_issue_history up
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 9 Nov 2017 13:34:08 +0000 (10:34 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 10 Jan 2018 12:59:44 +0000 (12:59 +0000)
commit5be4704347610d269e7d3401f50af46b3202869a
tree92fda7ad744c7d310b0210482f1fc75ce54cabc8
parent699340a398c3301eb74619c6dd1d18a4cee0951d
Bug 19599: Speed anonymise_issue_history up

The query generated by anonymise_issue_history is unecessary complex and
can be very slow on large DB.
With this patch we will execute one query per patron instead.

See patch "Bug 19599: Simplify the query" on the bug report for an
alternative.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/Patrons.pm