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
d3ebb24d
Commit
d3ebb24d
authored
Jan 31, 2003
by
Leigh B. Stoller
Browse files
Add update (replace delayed) of new node_status table in isalive().
Still updating the old table though, until the mods are complete.
parent
fee19328
Changes
1
Hide whitespace changes
Inline
Side-by-side
tmcd/tmcd.c
View file @
d3ebb24d
...
...
@@ -3596,6 +3596,14 @@ COMMAND_PROTOTYPE(doisalive)
"where node_id='%s' or phys_nodeid='%s'"
,
reqp
->
nodeid
,
reqp
->
nodeid
);
}
/*
* New stuff. Old stuff above will come out when node_status
* table completely implemented.
*/
mydb_update
(
"replace delayed into node_status "
" (node_id, status, status_timestamp) "
" values ('%s', 'up', now())"
,
reqp
->
nodeid
);
/*
* Return info about what needs to be updated.
...
...
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