Bug 21846: (follow-up) Add maintenance script
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 8 Jan 2019 16:13:46 +0000 (13:13 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 15 Mar 2019 12:27:44 +0000 (12:27 +0000)
commit293eee9959925397e4fdc84ae0d4baea2cf7d94c
treed067ad846e147585a7a2988dd95008421920214a
parent04f1b0ca950a5a133f6afe6785787d1982414a1e
Bug 21846: (follow-up) Add maintenance script

This patch adds a maintenance script that generates the missing
tags_approval entries based on the tags_all table, and then recalculates
the weights for both tags_approval and tags_index tables.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
installer/data/mysql/atomicupdate/bug_21846.perl
misc/maintenance/fix_tags_weight.pl [new file with mode: 0755]