Commit e370d1f5 authored by mkanat%bugzilla.org's avatar mkanat%bugzilla.org

Bug 442175: [Oracle] cron script collectstats.pl doesn't work (ORA error)

Patch By Xiaoou Wu <xiaoou.wu@oracle.com> r=mkanat, a=mkanat
parent 62788f04
......@@ -539,7 +539,7 @@ sub CollectSeriesData {
my $serieses = $dbh->selectall_hashref("SELECT series_id, query, creator " .
"FROM series " .
"WHERE frequency != 0 AND " .
"($days_since_epoch + series_id) % frequency = 0",
"MOD(($days_since_epoch + series_id), frequency) = 0",
"series_id");
# We prepare the insertion into the data table, for efficiency.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment