Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
b335da6e
Commit
b335da6e
authored
Feb 16, 2012
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not use elabinelab_notsetup, use CONFIG_NOSETUP instead.
parent
53eccbbc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
tmcd/tmcd.c
tmcd/tmcd.c
+2
-5
No files found.
tmcd/tmcd.c
View file @
b335da6e
...
@@ -8175,10 +8175,10 @@ COMMAND_PROTOTYPE(doemulabconfig)
...
@@ -8175,10 +8175,10 @@ COMMAND_PROTOTYPE(doemulabconfig)
/*
/*
* Stuff from the experiments table.
* Stuff from the experiments table.
*/
*/
res
=
mydb_query
(
"select elabinelab_cvstag
,elabinelab_nosetup
"
res = mydb_query("select elabinelab_cvstag "
" from experiments "
" from experiments "
"where pid='%s' and eid='%s'",
"where pid='%s' and eid='%s'",
2
,
reqp
->
pid
,
reqp
->
eid
);
1
, reqp->pid, reqp->eid);
if (!res) {
if (!res) {
error("EMULABCONFIG: %s: DB Error getting experiments info\n",
error("EMULABCONFIG: %s: DB Error getting experiments info\n",
reqp->nodeid);
reqp->nodeid);
...
@@ -8191,9 +8191,6 @@ COMMAND_PROTOTYPE(doemulabconfig)
...
@@ -8191,9 +8191,6 @@ COMMAND_PROTOTYPE(doemulabconfig)
bufp += OUTPUT(bufp, ebufp - bufp, "CVSSRCTAG=%s\n",
bufp += OUTPUT(bufp, ebufp - bufp, "CVSSRCTAG=%s\n",
row[0]);
row[0]);
}
}
if
(
row
[
1
]
&&
strcmp
(
row
[
1
],
"0"
))
{
bufp
+=
OUTPUT
(
bufp
,
ebufp
-
bufp
,
"NOSETUP=1
\n
"
);
}
}
}
mysql_free_result(res);
mysql_free_result(res);
...
...
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