[Koha-bugs] [Bug 19008] More database cleanups

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 2 14:41:17 CEST 2019


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

Magnus Enger <magnus at libriotech.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #71771|0                           |1
        is obsolete|                            |

--- Comment #29 from Magnus Enger <magnus at libriotech.no> ---
Created attachment 91922
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=91922&action=edit
Bug 19008 - More database cleanups - statistics

misc/cronjobs/cleanup_database.pl provides some database cleanup.
Yet some tables that could need cleanup are not in this script.

This patch adds cleanup for statistics table.

Test plan :
- Count statistics : select count(*),date(datetime) from statistics group by
date(datetime);
- Run cleanup : misc/cronjobs/cleanup_database.pl -v --statistics 30
- Recount statistics

Signed-off-by: Mark Tompsett <mtompset at hotmail.com>

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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


More information about the Koha-bugs mailing list