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 / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
8a42e145
Commit
8a42e145
authored
Apr 11, 2018
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Oh hell, I have no idea what happened, I lost the sql update in the
git merge.
parent
a624b2dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
sql/updates/4/634
sql/updates/4/634
+21
-0
No files found.
sql/updates/4/634
0 → 100644
View file @
8a42e145
use strict;
use emdb;
use EmulabConstants;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
DBQueryFatal("REPLACE INTO mode_transitions VALUES ".
" ('ALWAYSUP','SHUTDOWN','RELOAD','SHUTDOWN','')");
DBQueryFatal("REPLACE INTO mode_transitions VALUES ".
" ('RELOAD','SHUTDOWN','ALWAYSUP','SHUTDOWN','')");
DBQueryFatal("REPLACE INTO mode_transitions VALUES ".
" ('RELOAD','RELOADDONE','ALWAYSUP','SHUTDOWN','')");
return 0;
}
# Local Variables:
# mode:perl
# End:
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