Make SiteStatsInit::doPlaceholderInit() use 1 for ss_row_id
authorAaron Schulz <aschulz@wikimedia.org>
Sat, 10 Feb 2018 08:37:42 +0000 (00:37 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 12 Feb 2018 18:08:10 +0000 (18:08 +0000)
commitfcc7e1c0285944b947995fd5668723fc7e939f80
treee276127d19489b4fc752c7f56acbc6b62072bf0a
parent0c1f37923e8050eab771f453f683d4b4018475a3
Make SiteStatsInit::doPlaceholderInit() use 1 for ss_row_id

This makes it consistent with refresh() and avoids having two rows
on new wikis. Also make the SELECT explicitly look for row 1.

Bug: T186947
Change-Id: I4f952888bf8fecc791366a9698e46d61a4ad4ff3
includes/SiteStats.php