Commit ede943b0 authored by Tom Mitchell's avatar Tom Mitchell Committed by Ryan Jackson

Fix a SQL syntax bug in database update 214.

parent 73955778
......@@ -11,13 +11,13 @@ sub DoUpdate($$$)
if (!DBTableExists("subboss_images")) {
DBQueryFatal("CREATE TABLE `subboss_images` ( ".
"`subboss_id` varchar(32) NOT NULL default '' " .
"`imageid` int(8) unsigned NOT NULL default '0' " .
"`load_address` text " .
"`frisbee_pid` int(11) default '0' " .
"`load_busy` tinyint(4) NOT NULL default '0' ".
"`sync` tinyint(4) NOT NULL default '0' ".
" PRIMARY KEY (`subboss_id`,`imageid`), ".
"`subboss_id` varchar(32) NOT NULL default '', " .
"`imageid` int(8) unsigned NOT NULL default '0', " .
"`load_address` text, " .
"`frisbee_pid` int(11) default '0', " .
"`load_busy` tinyint(4) NOT NULL default '0', ".
"`sync` tinyint(4) NOT NULL default '0', ".
" PRIMARY KEY (`subboss_id`,`imageid`) ".
") ENGINE=MyISAM DEFAULT CHARSET=latin1");
}
return 0;
......
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