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
011c5c09
Commit
011c5c09
authored
Aug 26, 2006
by
mkanat%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 350237: checksetup does not properly add a short_desc index to old installations
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=myk
parent
e2172f5b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
DB.pm
Bugzilla/Install/DB.pm
+1
-1
No files found.
Bugzilla/Install/DB.pm
View file @
011c5c09
...
...
@@ -480,7 +480,7 @@ sub update_table_definitions {
$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
}
eq
'FULLTEXT'
)
{
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)
]);
}
...
...
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