summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2012-02-17 00:48:51 +0100
committerDave Lawrence <dlawrence@mozilla.com>2012-02-17 00:48:51 +0100
commita636e89b6851367fa4e59e1bb646d1ad8d3456a6 (patch)
tree9b8f57862b0cadba10494a98036e902cd7d7c5f9 /Bugzilla/Install
parent1dcfd9872fe4d43785e76030a89122424ffd4a7d (diff)
parent4622fc071220abaf0defbbde7be6c0c9ecba8aa8 (diff)
downloadbugzilla-a636e89b6851367fa4e59e1bb646d1ad8d3456a6.tar.gz
bugzilla-a636e89b6851367fa4e59e1bb646d1ad8d3456a6.tar.xz
merged with bugzilla/4.2
Diffstat (limited to 'Bugzilla/Install')
-rw-r--r--Bugzilla/Install/DB.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm
index a89be351c..7dc203933 100644
--- a/Bugzilla/Install/DB.pm
+++ b/Bugzilla/Install/DB.pm
@@ -663,6 +663,12 @@ sub update_table_definitions {
# 2011-11-28 dkl@mozilla.com - Bug 685611
_fix_notnull_defaults();
+ # 2012-02-15 LpSolit@gmail.com - Bug 722113
+ if ($dbh->bz_index_info('profile_search', 'profile_search_user_id')) {
+ $dbh->bz_drop_index('profile_search', 'profile_search_user_id');
+ $dbh->bz_add_index('profile_search', 'profile_search_user_id_idx', [qw(user_id)]);
+ }
+
################################################################
# New --TABLE-- changes should go *** A B O V E *** this point #
################################################################