Index: branches/5.2.x/install/upgrades.sql
===================================================================
diff -u -N -r15010 -r15124
--- branches/5.2.x/install/upgrades.sql	(.../upgrades.sql)	(revision 15010)
+++ branches/5.2.x/install/upgrades.sql	(.../upgrades.sql)	(revision 15124)
@@ -183,3 +183,7 @@
 UPDATE SearchConfig
 SET ForeignField = 'Users.Username'
 WHERE ForeignField = 'PortalUser.Username' AND ModuleName = 'In-Link';
+
+# ===== v 5.2.0-B2 =====
+UPDATE Link main_table
+SET main_table.CachedReviewsQty = (SELECT COUNT(*) FROM <%TABLE_PREFIX%>CatalogReviews review_table WHERE review_table.ItemId = main_table.ResourceId);
