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
cc3d3a36
Commit
cc3d3a36
authored
Dec 04, 2009
by
Leigh B. Stoller
Browse files
Fix to previous revision.
parent
f68756be
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/updates/11
View file @
cc3d3a36
...
...
@@ -10,7 +10,17 @@ sub DoUpdate($$$)
DBSetDefault($dbhandle);
if (!DBSlotExists("geni_crls", "DN")) {
if (!DBTableExists("geni_crls")) {
DBQueryFatal("CREATE TABLE `geni_crls` ( ".
" `uuid` varchar(40) NOT NULL default '', ".
" `created` datetime default NULL, ".
" `expires` datetime default NULL, ".
" `cert` text, ".
" `DN` text, ".
" PRIMARY KEY (`uuid`) ".
") ENGINE=MyISAM DEFAULT CHARSET=latin1");
}
elsif (!DBSlotExists("geni_crls", "DN")) {
DBQueryFatal("alter table geni_crls add `DN` text");
}
if (!DBSlotExists("ticket_history", "target_uuid")) {
...
...
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