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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 4 12:10:55 CET 2020


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #91922|0                           |1
        is obsolete|                            |
  Attachment #91923|0                           |1
        is obsolete|                            |
  Attachment #91924|0                           |1
        is obsolete|                            |
  Attachment #91925|0                           |1
        is obsolete|                            |
  Attachment #91926|0                           |1
        is obsolete|                            |
  Attachment #91927|0                           |1
        is obsolete|                            |
  Attachment #91928|0                           |1
        is obsolete|                            |

--- Comment #40 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 98373
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=98373&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>

Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

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


More information about the Koha-bugs mailing list