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
4754b82f
Commit
4754b82f
authored
Oct 16, 2010
by
Frédéric Buclin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor improvement for bug 451735
r=mkanat
parent
1ba4a8fa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
DB.pm
Bugzilla/DB.pm
+0
-2
Mysql.pm
Bugzilla/DB/Mysql.pm
+1
-1
No files found.
Bugzilla/DB.pm
View file @
4754b82f
...
...
@@ -941,8 +941,6 @@ sub bz_drop_index {
$self
->
_bz_real_schema
->
delete_index
(
$table
,
$name
);
$self
->
_bz_store_real_schema
;
}
return
$index_exists
?
1
:
0
;
}
# bz_drop_index_raw($table, $name, $silent)
...
...
Bugzilla/DB/Mysql.pm
View file @
4754b82f
...
...
@@ -772,7 +772,7 @@ sub bz_setup_database {
# despite it was still present in the DB. That's why we have to
# force the deletion, bypassing the DB schema.
if
(
!
$self
->
bz_index_info
(
'series'
,
'series_category_idx'
))
{
if
(
!
$self
->
bz_
drop_index
(
'series'
,
'series_creator_idx'
)
if
(
!
$self
->
bz_
index_info
(
'series'
,
'series_creator_idx'
)
&&
$self
->
bz_index_info_real
(
'series'
,
'series_creator_idx'
))
{
foreach
my
$column
(
qw(creator category subcategory name)
)
{
...
...
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