Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Cloogle
cloogle.org
Commits
11aeab8f
Verified
Commit
11aeab8f
authored
Nov 15, 2018
by
Camil Staps
🚀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Recognise "instance X" queries in long-term statistics
parent
b973b091
Pipeline
#16481
passed with stage
in 14 minutes and 40 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
frontend/stats/ajax/per_oss.php
frontend/stats/ajax/per_oss.php
+1
-1
frontend/stats/ajax/types.php
frontend/stats/ajax/types.php
+1
-1
No files found.
frontend/stats/ajax/per_oss.php
View file @
11aeab8f
...
...
@@ -8,7 +8,7 @@ $sql =
count(case when `responsecode`>1 and `responsecode` NOT IN ("
.
SQL_SERVER_ERROR
.
") then 1 else null end),
sum(case when `query` LIKE '%::%' then 1 else null end),
sum(case when `query` LIKE 'type %' then 1 else null end),
sum(case when `query` LIKE 'class %' then 1 else null end),
sum(case when `query` LIKE 'class %'
OR `query` LIKE 'instance %'
then 1 else null end),
sum(case when `query` LIKE 'using %' then 1 else null end)
FROM `log`
INNER JOIN `useragent` ON `log`.`useragent_id` = `useragent`.`id`
...
...
frontend/stats/ajax/types.php
View file @
11aeab8f
...
...
@@ -6,7 +6,7 @@ $sql =
count(*),
sum(case when `query` LIKE '%::%' then 1 else null end),
sum(case when `query` LIKE 'type %' then 1 else null end),
sum(case when `query` LIKE 'class %' then 1 else null end),
sum(case when `query` LIKE 'class %'
OR `query` LIKE 'instance %'
then 1 else null end),
sum(case when `query` LIKE 'using %' then 1 else null end)
FROM `log`
WHERE
...
...
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