Doing collectstats.pl --regenerate fails on PostgreSQL (and probably any non-MySQL database) because there's a SQL error that is coincidentally worked around by the DB::Mysql implementation of sql_to_days.
Created attachment 456140 [details] [diff] [review]
This adds a single space, to fix the problem. :-)
Comment on attachment 456140 [details] [diff] [review]
r=me by inspection.
Surprised nobody noticed this sooner, considering it should throw some type of SQL error.
Yeah, I'm surprised as well. Well, --regenerate isn't that commonly used or known about, I suppose.
In any case, thanks for the review! :-)
Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/trunk/
Committed revision 7283.
Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/3.6/
Committed revision 7122.