revert until proper cleanup

This commit is contained in:
Domas Mituzas 2006-11-22 14:21:53 +00:00
parent d8bfaa67dc
commit f8299618ea
4 changed files with 4 additions and 4 deletions

View file

@ -24,7 +24,7 @@ CREATE TABLE /*$wgDBprefix*/ipblocks_newunique (
ipb_range_end tinyblob NOT NULL default '',
PRIMARY KEY ipb_id (ipb_id),
UNIQUE INDEX ipb_address_unique (ipb_address, ipb_user, ipb_auto),
UNIQUE INDEX ipb_address_unique (ipb_address(255), ipb_user, ipb_auto),
INDEX ipb_user (ipb_user),
INDEX ipb_range (ipb_range_start(8), ipb_range_end(8)),
INDEX ipb_timestamp (ipb_timestamp),

View file

@ -619,7 +619,7 @@ CREATE TABLE /*$wgDBprefix*/ipblocks (
-- Unique index to support "user already blocked" messages
-- Any new options which prevent collisions should be included
UNIQUE INDEX ipb_address (ipb_address, ipb_user, ipb_auto, ipb_anon_only),
UNIQUE INDEX ipb_address (ipb_address(255), ipb_user, ipb_auto, ipb_anon_only),
INDEX ipb_user (ipb_user),
INDEX ipb_range (ipb_range_start(8), ipb_range_end(8)),

View file

@ -610,7 +610,7 @@ CREATE TABLE /*$wgDBprefix*/ipblocks (
-- Unique index to support "user already blocked" messages
-- Any new options which prevent collisions should be included
UNIQUE INDEX ipb_address (ipb_address, ipb_user, ipb_auto, ipb_anon_only),
UNIQUE INDEX ipb_address (ipb_address(255), ipb_user, ipb_auto, ipb_anon_only),
INDEX ipb_user (ipb_user),
INDEX ipb_range (ipb_range_start(8), ipb_range_end(8)),

View file

@ -598,7 +598,7 @@ CREATE TABLE /*$wgDBprefix*/ipblocks (
-- Unique index to support "user already blocked" messages
-- Any new options which prevent collisions should be included
UNIQUE INDEX ipb_address (ipb_address, ipb_user, ipb_auto, ipb_anon_only),
UNIQUE INDEX ipb_address (ipb_address(255), ipb_user, ipb_auto, ipb_anon_only),
INDEX ipb_user (ipb_user),
INDEX ipb_range (ipb_range_start(8), ipb_range_end(8)),