From 0f282627568f7f8ed401506f291730f871fc538a Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Sat, 26 Aug 2006 06:55:17 +0000 Subject: Bug 350249: We don't need an index on bugs.short_desc Patch By Max Kanat-Alexander (module owner) a=myk --- Bugzilla/Install/DB.pm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'Bugzilla/Install') diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm index 09aa5c323..f649686e7 100644 --- a/Bugzilla/Install/DB.pm +++ b/Bugzilla/Install/DB.pm @@ -482,11 +482,7 @@ sub update_table_definitions { # 2006-08-19 LpSolit@gmail.com - Bug 87795 $dbh->bz_alter_column('tokens', 'userid', {TYPE => 'INT3'}); - my $sd_index = $dbh->bz_index_info('bugs', 'bugs_short_desc_idx'); - if (!$sd_index || ($sd_index->{TYPE} && $sd_index->{TYPE} eq 'FULLTEXT')) { - $dbh->bz_drop_index('bugs', 'bugs_short_desc_idx'); - $dbh->bz_add_index('bugs', 'bugs_short_desc_idx', [qw(short_desc)]); - } + $dbh->bz_drop_index('bugs', 'bugs_short_desc_idx'); # The profiles table was missing some defaults. $dbh->bz_alter_column('profiles', 'disabledtext', -- cgit v1.2.3-24-g4f1b