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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
0f282627
Commit
0f282627
authored
Aug 26, 2006
by
mkanat%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 350249: We don't need an index on bugs.short_desc
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=myk
parent
19272549
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
6 deletions
+1
-6
Schema.pm
Bugzilla/DB/Schema.pm
+0
-1
DB.pm
Bugzilla/Install/DB.pm
+1
-5
No files found.
Bugzilla/DB/Schema.pm
View file @
0f282627
...
...
@@ -219,7 +219,6 @@ use constant ABSTRACT_SCHEMA => {
bugs_target_milestone_idx
=>
[
'target_milestone'
],
bugs_qa_contact_idx
=>
[
'qa_contact'
],
bugs_votes_idx
=>
[
'votes'
],
bugs_short_desc_idx
=>
[
'short_desc'
],
],
},
...
...
Bugzilla/Install/DB.pm
View file @
0f282627
...
...
@@ -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'
,
...
...
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