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
ce445133
Commit
ce445133
authored
Feb 11, 2011
by
Tiago Mello
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 620827: Fix the bug_see_also class column length.
r/a=LpSolit
parent
f0b62420
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
DB.pm
Bugzilla/Install/DB.pm
+7
-2
No files found.
Bugzilla/Install/DB.pm
View file @
ce445133
...
...
@@ -3548,10 +3548,15 @@ sub _migrate_user_tags {
sub
_populate_bug_see_also_class
{
my
$dbh
=
Bugzilla
->
dbh
;
return
if
$dbh
->
bz_column_info
(
'bug_see_also'
,
'class'
);
if
(
$dbh
->
bz_column_info
(
'bug_see_also'
,
'class'
))
{
# The length was incorrectly set to 64 instead of 255.
$dbh
->
bz_alter_column
(
'bug_see_also'
,
'class'
,
{
TYPE
=>
'varchar(255)'
,
NOTNULL
=>
1
});
return
;
}
$dbh
->
bz_add_column
(
'bug_see_also'
,
'class'
,
{
TYPE
=>
'varchar(
64
)'
,
NOTNULL
=>
1
},
''
);
{
TYPE
=>
'varchar(
255
)'
,
NOTNULL
=>
1
},
''
);
my
$result
=
$dbh
->
selectall_arrayref
(
"SELECT id, value FROM bug_see_also"
);
...
...
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