From fa2b003c19f9c79c2665f5d70685de05b59d9aa8 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Tue, 11 Jul 2006 06:56:27 +0000 Subject: [PATCH] Use bool not boolean for 4.0.x compatibility --- maintenance/archives/patch-ipb_anon_only.sql | 6 +++--- maintenance/mysql5/tables.sql | 6 +++--- maintenance/tables.sql | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/maintenance/archives/patch-ipb_anon_only.sql b/maintenance/archives/patch-ipb_anon_only.sql index 606e575cb7..8e8b2856b7 100644 --- a/maintenance/archives/patch-ipb_anon_only.sql +++ b/maintenance/archives/patch-ipb_anon_only.sql @@ -16,9 +16,9 @@ CREATE TABLE /*$wgDBprefix*/ipblocks_newunique ( ipb_by int(8) unsigned NOT NULL default '0', ipb_reason tinyblob NOT NULL default '', ipb_timestamp char(14) binary NOT NULL default '', - ipb_auto boolean NOT NULL default 0, - ipb_anon_only boolean NOT NULL default 0, - ipb_create_account boolean NOT NULL default 1, + ipb_auto bool NOT NULL default 0, + ipb_anon_only bool NOT NULL default 0, + ipb_create_account bool NOT NULL default 1, ipb_expiry char(14) binary NOT NULL default '', ipb_range_start tinyblob NOT NULL default '', ipb_range_end tinyblob NOT NULL default '', diff --git a/maintenance/mysql5/tables.sql b/maintenance/mysql5/tables.sql index e1ae0e67cf..81a4690adc 100644 --- a/maintenance/mysql5/tables.sql +++ b/maintenance/mysql5/tables.sql @@ -583,13 +583,13 @@ CREATE TABLE /*$wgDBprefix*/ipblocks ( -- Indicates that the IP address was banned because a banned -- user accessed a page through it. If this is 1, ipb_address -- will be hidden, and the block identified by block ID number. - ipb_auto boolean NOT NULL default '0', + ipb_auto bool NOT NULL default '0', -- If set to 1, block applies only to logged-out users - ipb_anon_only boolean NOT NULL default 0, + ipb_anon_only bool NOT NULL default 0, -- Block prevents account creation from matching IP addresses - ipb_create_account boolean NOT NULL default 1, + ipb_create_account bool NOT NULL default 1, -- Time at which the block will expire. ipb_expiry char(14) binary NOT NULL default '', diff --git a/maintenance/tables.sql b/maintenance/tables.sql index 67b620aed3..044ccee57b 100644 --- a/maintenance/tables.sql +++ b/maintenance/tables.sql @@ -570,13 +570,13 @@ CREATE TABLE /*$wgDBprefix*/ipblocks ( -- Indicates that the IP address was banned because a banned -- user accessed a page through it. If this is 1, ipb_address -- will be hidden, and the block identified by block ID number. - ipb_auto boolean NOT NULL default 0, + ipb_auto bool NOT NULL default 0, -- If set to 1, block applies only to logged-out users - ipb_anon_only boolean NOT NULL default 0, + ipb_anon_only bool NOT NULL default 0, -- Block prevents account creation from matching IP addresses - ipb_create_account boolean NOT NULL default 1, + ipb_create_account bool NOT NULL default 1, -- Time at which the block will expire. ipb_expiry char(14) binary NOT NULL default '', -- 2.20.1