NuGet/NuGetGallery — pull request #524 by FilipDeVos (2012-06-13 16:09:51+00:00)
Title: Collation problem and null error with DownloadCount

I fixed 2 errors around the DownloadCount field in the Packages table.

1. DownloadCount had an incorrect casing in the UpdateStatisticsJob class. This caused a crash on a case sensitive SQL Server install
1. The query in the AggregateStatsService class returns a NULL for DownloadCount when there are no packages. I wrapped it in an ISNULL so it is consistent with the other values returned from this query.

Regards,

Filip De Vos