Commit 4dafd85f authored by Dries's avatar Dries

- Adding the missing flood tables.  Sorry.
parent 9bf33e5a
......@@ -262,6 +262,16 @@ CREATE TABLE filters (
INDEX (weight)
) TYPE=MyISAM;
--
-- Table structure for table 'flood'
--
CREATE TABLE flood (
event varchar(64) NOT NULL default '',
hostname varchar(128) NOT NULL default '',
timestamp int(11) NOT NULL default '0'
) TYPE=MyISAM;
--
-- Table structure for table 'forum'
--
......
......@@ -263,6 +263,16 @@ CREATE TABLE filters (
CREATE INDEX filters_module_idx ON filters(module);
--
-- Table structure for table 'flood'
--
CREATE TABLE flood (
event varchar(64) NOT NULL default '',
hostname varchar(128) NOT NULL default '',
timestamp int(11) NOT NULL default '0'
);
--
-- Table structure for table 'forum'
--
......
......@@ -87,7 +87,8 @@
"2004-10-16" => "update_108",
"2004-10-18" => "update_109",
"2004-10-31: first update since Drupal 4.5.0 release" => "update_110",
"2004-11-07" => "update_111"
"2004-11-07" => "update_111",
"2004-11-15" => "update_112"
);
function update_32() {
......@@ -1978,6 +1979,18 @@ function update_111() {
return $ret;
}
function update_112() {
$ret = array();
$ret[] = update_sql("CREATE TABLE flood (
event varchar(64) NOT NULL default '',
hostname varchar(128) NOT NULL default '',
timestamp int(11) NOT NULL default '0'
);");
return $ret;
}
function update_sql($sql) {
$edit = $_POST["edit"];
$result = db_query($sql);
......
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