Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
lib/gitlab/cycle_analytics/events_query.rb
lib/gitlab/cycle_analytics/events_query.rb
+1
-1
lib/gitlab/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
...
@@ -14,7 +14,7 @@ module Gitlab
@config
=
QueryConfig
.
get
(
stage
)
@config
=
QueryConfig
.
get
(
stage
)
query
=
build_query
(
&
block
)
query
=
build_query
(
&
block
)
ActiveRecord
::
Base
.
connection
.
exec
ute
(
query
.
to_sql
).
to_a
ActiveRecord
::
Base
.
connection
.
exec
_query
(
query
.
to_sql
)
end
end
private
private
...
...
lib/gitlab/light_url_builder.rb
View file @
848ea241
...
@@ -19,7 +19,7 @@ module Gitlab
...
@@ -19,7 +19,7 @@ module Gitlab
def
url
def
url
url_method
=
"
#{
@entity
}
_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
)
public_send
(
url_method
)
end
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