summaryrefslogtreecommitdiff
path: root/lib/gitlab/cycle_analytics
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/cycle_analytics')
-rw-r--r--lib/gitlab/cycle_analytics/events_query.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/cycle_analytics/events_query.rb b/lib/gitlab/cycle_analytics/events_query.rb
index 7a27e099be3..9d69e267d8d 100644
--- a/lib/gitlab/cycle_analytics/events_query.rb
+++ b/lib/gitlab/cycle_analytics/events_query.rb
@@ -14,7 +14,7 @@ module Gitlab
@config = QueryConfig.get(stage)
query = build_query(&block)
- ActiveRecord::Base.connection.execute(query.to_sql).to_a
+ ActiveRecord::Base.connection.exec_query(query.to_sql)
end
private