Use bool not boolean for 4.0.x compatibility
authorTim Starling <tstarling@users.mediawiki.org>
Tue, 11 Jul 2006 06:56:27 +0000 (06:56 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Tue, 11 Jul 2006 06:56:27 +0000 (06:56 +0000)
maintenance/archives/patch-ipb_anon_only.sql
maintenance/mysql5/tables.sql
maintenance/tables.sql

index 606e575..8e8b285 100644 (file)
@@ -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 '',
index e1ae0e6..81a4690 100644 (file)
@@ -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 '',
index 67b620a..044ccee 100644 (file)
@@ -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 '',