summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2013-01-07 21:11:53 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2013-01-07 21:11:53 +0100
commit9426b8ea72bfa4ea7725e5499107e5b283a1a76c (patch)
tree8d6c22ef4ff6624730b13a25702d17d118c15ad1 /Bugzilla/DB
parent292ad609ffad27232699a5c5db2b244a28881267 (diff)
downloadbugzilla-9426b8ea72bfa4ea7725e5499107e5b283a1a76c.tar.gz
bugzilla-9426b8ea72bfa4ea7725e5499107e5b283a1a76c.tar.xz
Bug 824361: Add an index on (bug_id, work_time) in the longdescs table to improve performance
r=dkl a=LpSolit
Diffstat (limited to 'Bugzilla/DB')
-rw-r--r--Bugzilla/DB/Schema.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm
index 7c3f9fa6c..058e78a5f 100644
--- a/Bugzilla/DB/Schema.pm
+++ b/Bugzilla/DB/Schema.pm
@@ -400,7 +400,7 @@ use constant ABSTRACT_SCHEMA => {
extra_data => {TYPE => 'varchar(255)'}
],
INDEXES => [
- longdescs_bug_id_idx => ['bug_id'],
+ longdescs_bug_id_idx => [qw(bug_id work_time)],
longdescs_who_idx => [qw(who bug_id)],
longdescs_bug_when_idx => ['bug_when'],
],