Index: branches/5.2.x/install/upgrades.sql
===================================================================
diff -u -r15008 -r15122
--- branches/5.2.x/install/upgrades.sql	(.../upgrades.sql)	(revision 15008)
+++ branches/5.2.x/install/upgrades.sql	(.../upgrades.sql)	(revision 15122)
@@ -251,3 +251,7 @@
 
 DELETE FROM SystemSettings
 WHERE VariableName IN ('Topic_Highlight_OpenTag', 'Topic_Highlight_CloseTag', 'Posts_NewDays');
+
+# ===== v 5.2.0-B2 =====
+UPDATE Topic main_table
+SET main_table.CachedReviewsQty = (SELECT COUNT(*) FROM <%TABLE_PREFIX%>CatalogReviews review_table WHERE review_table.ItemId = main_table.ResourceId);
