Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
53578fb6
Commit
53578fb6
authored
Jul 18, 2011
by
Frédéric Buclin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 672173: Calling collectstats.pl with arguments passes the first argument to some SQL statements
r=gerv a=LpSolit
parent
706d83ff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
collectstats.pl
collectstats.pl
+1
-1
No files found.
collectstats.pl
View file @
53578fb6
...
...
@@ -476,7 +476,7 @@ sub CollectSeriesData {
# (days_since_epoch + series_id) % frequency = 0. So they'll run every
# <frequency> days, but the start date depends on the series_id.
my
$days_since_epoch
=
int
(
time
()
/
(
60
*
60
*
24
));
my
$today
=
$ARGV
[
0
]
||
today_dash
();
my
$today
=
today_dash
();
# We save a copy of the main $dbh and then switch to the shadow and get
# that one too. Remember, these may be the same.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment