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
b9382a08
Commit
b9382a08
authored
Feb 15, 2012
by
Frédéric Buclin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 722113: The profile_search table has a wrong index name
r=glob a=LpSolit
parent
21d70ded
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
Schema.pm
Bugzilla/DB/Schema.pm
+1
-1
DB.pm
Bugzilla/Install/DB.pm
+6
-0
No files found.
Bugzilla/DB/Schema.pm
View file @
b9382a08
...
...
@@ -890,7 +890,7 @@ use constant ABSTRACT_SCHEMA => {
list_order
=>
{
TYPE
=>
'MEDIUMTEXT'
},
],
INDEXES
=>
[
profile_search_user_id
=>
[
qw(user_id)
],
profile_search_user_id
_idx
=>
[
qw(user_id)
],
],
},
...
...
Bugzilla/Install/DB.pm
View file @
b9382a08
...
...
@@ -660,6 +660,12 @@ sub update_table_definitions {
# 2011-11-28 dkl@mozilla.com - Bug 685611
_fix_notnull_defaults
();
# 2012-02-15 LpSolit@gmail.com - Bug 722113
if
(
$dbh
->
bz_index_info
(
'profile_search'
,
'profile_search_user_id'
))
{
$dbh
->
bz_drop_index
(
'profile_search'
,
'profile_search_user_id'
);
$dbh
->
bz_add_index
(
'profile_search'
,
'profile_search_user_id_idx'
,
[
qw(user_id)
]);
}
################################################################
# New --TABLE-- changes should go *** A B O V E *** this point #
################################################################
...
...
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