]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 21 Dec 2017 16:21:11 +0000 (13:21 -0300)
commit9aa724cdf29a57bc91e42b240b5bcd19e3814ada
tree70920b63c81a8ec7f34f55fbede08cc60670848b
parentcf57457d34eed3a5fe3aff86ad5fbc9c1147cd81
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>
Koha/Patrons.pm