Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/peek/views/click_house.rb')
-rw-r--r--lib/peek/views/click_house.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/peek/views/click_house.rb b/lib/peek/views/click_house.rb
index cc109ccea51..97f02ad3dab 100644
--- a/lib/peek/views/click_house.rb
+++ b/lib/peek/views/click_house.rb
@@ -39,7 +39,7 @@ module Peek
{
start: start,
duration: finish - start,
- sql: data[:query].strip,
+ sql: data[:query].to_sql.strip,
backtrace: Gitlab::BacktraceCleaner.clean_backtrace(caller),
database: "database: #{data[:database]}",
statistics: "query stats: #{data[:statistics]}"