Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
d2664956
Commit
d2664956
authored
Feb 12, 2005
by
bugreport%peshkin.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 281787: Add index for attachments.submitter_id and bugs_activity.who
r,a=justdave
parent
882b1b2e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
checksetup.pl
checksetup.pl
+12
-0
No files found.
checksetup.pl
View file @
d2664956
...
...
@@ -1672,6 +1672,7 @@ $table{bugs_activity} =
removed tinytext,
index (bug_id),
index (who),
index (bug_when),
index (fieldid)'
;
...
...
@@ -1690,6 +1691,7 @@ $table{attachments} =
isprivate tinyint not null default 0,
index(bug_id),
index(submitter_id),
index(creation_ts)'
;
# September 2002 myk@mozilla.org: Tables to support status flags,
...
...
@@ -4732,6 +4734,16 @@ if (($fielddef = GetFieldDef("bugs", "delta_ts")) &&
ChangeFieldType
(
'bugs'
,
'delta_ts'
,
'DATETIME NOT NULL'
);
}
# 2005-02-12 bugreport@peshkin.net, bug 281787
if
(
!
defined
GetIndexDef
(
'attachments'
,
'submitter_id'
))
{
print
"Adding index for submitter_id column in attachments table...\n"
;
$dbh
->
do
(
'ALTER TABLE attachments ADD INDEX (submitter_id)'
);
}
if
(
!
defined
GetIndexDef
(
'bugs_activity'
,
'who'
))
{
print
"Adding index for who column in bugs_activity table...\n"
;
$dbh
->
do
(
'ALTER TABLE bugs_activity ADD INDEX (who)'
);
}
#
# Final checks...
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment