Commit 3251df4d authored by Ryan Jackson's avatar Ryan Jackson

Forgot to use the '.' operator to concatenate strings. I've been spending too...

Forgot to use the '.' operator to concatenate strings.  I've been spending too much time in C lately.
parent 781d62b9
......@@ -10,17 +10,18 @@ sub DoUpdate($$$)
my ($dbhandle, $dbname, $version) = @_;
if (!DBTableExists("subbosses")) {
DBQueryFatal( "CREATE TABLE `subbosses` ("
" `node_id` varchar(32) NOT NULL default '',"
" `service` varchar(20) NOT NULL default '',"
" `subboss_id` varchar(20) NOT NULL default '',"
" PRIMARY KEY (`node_id`,`service`)"
DBQueryFatal( "CREATE TABLE 'subbosses' (" .
" 'node_id' varchar(32) NOT NULL default ''," .
" 'service' varchar(20) NOT NULL default ''," .
" 'subboss_id' varchar(20) NOT NULL default ''," .
" PRIMARY KEY ('node_id','service')" .
") ENGINE=MyISAM DEFAULT CHARSET=latin1;");
}
DBQueryFatal("alter table reserved change `erole` `erole` ".
" enum('node','virthost','delaynode','simhost', "
DBQueryFatal("alter table reserved change erole erole " .
" enum('node','virthost','delaynode','simhost', " .
" 'sharedhost', 'subboss') NOT NULL default 'node'");
return 0;
}
1;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment