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
5b260d69
Commit
5b260d69
authored
May 31, 2010
by
Max Kanat-Alexander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 561379: Upgrading from 3.4.4 to 3.6 would fails with ORA-01400,
because checksetup.pl was trying to run code that should never run on Oracle. r=mkanat, a=mkanat (module owner)
parent
0679b5e9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
DB.pm
Bugzilla/Install/DB.pm
+7
-0
No files found.
Bugzilla/Install/DB.pm
View file @
5b260d69
...
...
@@ -1864,6 +1864,12 @@ sub _remove_spaces_and_commas_from_flagtypes {
sub
_setup_usebuggroups_backward_compatibility
{
my
$dbh
=
Bugzilla
->
dbh
;
# Don't run this on newer Bugzillas. This is a reliable test because
# the longdescs table existed in 2.16 (which had usebuggroups)
# but not in 2.18, and this code happens between 2.16 and 2.18.
return
if
$dbh
->
bz_column_info
(
'longdescs'
,
'already_wrapped'
);
# 2002-11-24 - bugreport@peshkin.net - bug 147275
#
# If group_control_map is empty, backward-compatibility
...
...
@@ -1871,6 +1877,7 @@ sub _setup_usebuggroups_backward_compatibility {
my
(
$maps_exist
)
=
$dbh
->
selectrow_array
(
"SELECT DISTINCT 1 FROM group_control_map"
);
if
(
!
$maps_exist
)
{
print
"Converting old usebuggroups controls...\n"
;
# Initially populate group_control_map.
# First, get all the existing products and their groups.
my
$sth
=
$dbh
->
prepare
(
"SELECT groups.id, products.id, groups.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