Bug 21846: (follow-up) Add maintenance script
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 8 Jan 2019 16:13:46 +0000 (13:13 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 19 Mar 2019 09:58:07 +0000 (09:58 +0000)
commite517e34270a18172879e2e1376e19c755b7eb5b4
tree8caaf2b4e3a9cc1c7848f0d44795967517f7b239
parentf6e4e66f770a9ff36fee592f55617b39cbf3a6f6
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>
(cherry picked from commit 293eee9959925397e4fdc84ae0d4baea2cf7d94c)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
installer/data/mysql/atomicupdate/bug_21846.perl
misc/maintenance/fix_tags_weight.pl [new file with mode: 0755]