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
190493a5
Commit
190493a5
authored
Mar 10, 2005
by
mkanat%kerio.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 285443: Schema::Pg should remove FULLTEXT attribute from indexes
Patch By Ed Sabol <edwardjsabol@iname.com> r=mkanat, a=justdave
parent
c4804fb4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
Pg.pm
Bugzilla/DB/Schema/Pg.pm
+16
-0
No files found.
Bugzilla/DB/Schema/Pg.pm
View file @
190493a5
...
...
@@ -39,6 +39,22 @@ sub _initialize {
$self
=
$self
->
SUPER::
_initialize
;
# Remove FULLTEXT index types from the schemas.
foreach
my
$table
(
keys
%
{
$self
->
{
schema
}
})
{
if
(
$self
->
{
schema
}{
$table
}{
INDEXES
})
{
foreach
my
$index
(
@
{
$self
->
{
schema
}{
$table
}{
INDEXES
}
})
{
if
(
ref
(
$index
)
eq
'HASH'
)
{
delete
(
$index
->
{
TYPE
})
if
(
$index
->
{
TYPE
}
eq
'FULLTEXT'
);
}
}
foreach
my
$index
(
@
{
$self
->
{
abstract_schema
}{
$table
}{
INDEXES
}
})
{
if
(
ref
(
$index
)
eq
'HASH'
)
{
delete
(
$index
->
{
TYPE
})
if
(
$index
->
{
TYPE
}
eq
'FULLTEXT'
);
}
}
}
}
$self
->
{
db_specific
}
=
{
BOOLEAN
=>
'smallint'
,
...
...
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