Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
6f50f247
Commit
6f50f247
authored
Jul 11, 2016
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set gid,gid_idx in apt failures/history tables.
parent
a4d0533b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
apt/APT_Instance.pm.in
apt/APT_Instance.pm.in
+2
-0
No files found.
apt/APT_Instance.pm.in
View file @
6f50f247
...
...
@@ -592,6 +592,7 @@ sub RecordHistory($$)
DBQueryWarn
(
"replace into apt_instance_history "
.
"select uuid,name,profile_id,profile_version,slice_uuid, "
.
" creator,creator_idx,creator_uuid,pid,pid_idx, "
.
" gid,gid_idx, "
.
" aggregate_urn,public_url,logfileid, "
.
" created,now(),$expired, "
.
" extension_count,extension_days, "
.
...
...
@@ -612,6 +613,7 @@ sub RecordError($$$)
DBQueryWarn
(
"replace into apt_instance_failures "
.
"select uuid,name,profile_id,profile_version,slice_uuid, "
.
" creator,creator_idx,creator_uuid,pid,pid_idx, "
.
" gid,gid_idx, "
.
" created,'$exitcode',$safe_message,public_url, "
.
" logfileid "
.
" from apt_instances where uuid='$uuid'"
)
...
...
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