BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
848ea241
Commit
848ea241
authored
Nov 09, 2016
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix MySQL problem with query
parent
3d005033
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
events_query.rb
lib/gitlab/cycle_analytics/events_query.rb
+1
-1
light_url_builder.rb
lib/gitlab/light_url_builder.rb
+1
-1
No files found.
lib/gitlab/cycle_analytics/events_query.rb
View file @
848ea241
...
...
@@ -14,7 +14,7 @@ module Gitlab
@config
=
QueryConfig
.
get
(
stage
)
query
=
build_query
(
&
block
)
ActiveRecord
::
Base
.
connection
.
exec
ute
(
query
.
to_sql
).
to_a
ActiveRecord
::
Base
.
connection
.
exec
_query
(
query
.
to_sql
)
end
private
...
...
lib/gitlab/light_url_builder.rb
View file @
848ea241
...
...
@@ -19,7 +19,7 @@ module Gitlab
def
url
url_method
=
"
#{
@entity
}
_url"
raise
NotImplementedError
.
new
(
"No Light URL builder defined for
#{
@entity
.
to_s
}
"
)
unless
respond_to?
(
url_method
)
raise
NotImplementedError
.
new
(
"No Light URL builder defined for
#{
@entity
}
"
)
unless
respond_to?
(
url_method
)
public_send
(
url_method
)
end
...
...
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