Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
31c49de7
Commit
31c49de7
authored
Jun 02, 2017
by
Leigh B Stoller
Browse files
Fix mysql 5.7 "group by" complaint.
parent
a2a55f93
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/aptui/profile-activity.php
View file @
31c49de7
...
...
@@ -57,7 +57,8 @@ $instances = array();
$query1_result
=
DBQueryFatal
(
"select 1 as active, "
.
" i.uuid,i.profile_version,i.created,'' as destroyed, "
.
" i.creator,p.uuid as profile_uuid,u.email,ia.public_url, "
.
" i.creator,p.uuid as profile_uuid,u.email,"
.
" ANY_VALUE(ia.public_url), "
.
" i.slice_uuid "
.
" from apt_instances as i "
.
"left join apt_instance_aggregates as ia "
.
...
...
@@ -72,7 +73,8 @@ $query1_result =
$query2_result
=
DBQueryFatal
(
"select 0 as active, "
.
" h.uuid,h.profile_version,h.created,h.destroyed, "
.
" h.creator,p.uuid as profile_uuid,u.email,ia.public_url, "
.
" h.creator,p.uuid as profile_uuid,u.email, "
.
" ANY_VALUE(ia.public_url), "
.
" h.slice_uuid "
.
" from apt_instance_history as h "
.
"left join apt_instance_aggregate_history as ia "
.
...
...
Write
Preview
Supports
Markdown
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