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
530879b4
Commit
530879b4
authored
Oct 31, 2001
by
jake%acutex.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing tinderbox bustage (removing <Tab>s and adding a "use vars" line)
parent
6123fc3f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
16 deletions
+18
-16
Bug.pm
Bug.pm
+7
-6
Bug.pm
Bugzilla/Bug.pm
+7
-6
RelationSet.pm
Bugzilla/RelationSet.pm
+2
-2
RelationSet.pm
RelationSet.pm
+2
-2
No files found.
Bug.pm
View file @
530879b4
...
...
@@ -27,6 +27,7 @@ use strict;
use
DBI
;
use
RelationSet
;
use
vars
qw($unconfirmedstate $legal_keywords)
;
require
"globals.pl"
;
require
"CGI.pl"
;
package
Bug
;
...
...
@@ -86,7 +87,7 @@ sub initBug {
}
else
{
if
(
$user_id
=~
/^\@/
)
{
$user_id
=
&::
DBname_to_id
(
$user_id
);
$user_id
=
&::
DBname_to_id
(
$user_id
);
}
}
...
...
@@ -127,11 +128,11 @@ sub initBug {
"bug_file_loc"
,
"short_desc"
,
"target_milestone"
,
"qa_contact"
,
"status_whiteboard"
,
"creation_ts"
,
"groupset"
,
"delta_ts"
,
"votes"
)
{
$fields
{
$field
}
=
shift
@row
;
if
(
$fields
{
$field
})
{
$self
->
{
$field
}
=
$fields
{
$field
};
}
$count
++
;
$fields
{
$field
}
=
shift
@row
;
if
(
$fields
{
$field
})
{
$self
->
{
$field
}
=
$fields
{
$field
};
}
$count
++
;
}
}
else
{
&::
SendSQL
(
"select groupset from bugs where bug_id = $bug_id"
);
...
...
Bugzilla/Bug.pm
View file @
530879b4
...
...
@@ -27,6 +27,7 @@ use strict;
use
DBI
;
use
RelationSet
;
use
vars
qw($unconfirmedstate $legal_keywords)
;
require
"globals.pl"
;
require
"CGI.pl"
;
package
Bug
;
...
...
@@ -86,7 +87,7 @@ sub initBug {
}
else
{
if
(
$user_id
=~
/^\@/
)
{
$user_id
=
&::
DBname_to_id
(
$user_id
);
$user_id
=
&::
DBname_to_id
(
$user_id
);
}
}
...
...
@@ -127,11 +128,11 @@ sub initBug {
"bug_file_loc"
,
"short_desc"
,
"target_milestone"
,
"qa_contact"
,
"status_whiteboard"
,
"creation_ts"
,
"groupset"
,
"delta_ts"
,
"votes"
)
{
$fields
{
$field
}
=
shift
@row
;
if
(
$fields
{
$field
})
{
$self
->
{
$field
}
=
$fields
{
$field
};
}
$count
++
;
$fields
{
$field
}
=
shift
@row
;
if
(
$fields
{
$field
})
{
$self
->
{
$field
}
=
$fields
{
$field
};
}
$count
++
;
}
}
else
{
&::
SendSQL
(
"select groupset from bugs where bug_id = $bug_id"
);
...
...
Bugzilla/RelationSet.pm
View file @
530879b4
...
...
@@ -103,8 +103,8 @@ sub generateSqlDeltas {
if
(
$#insertList
>
-
1
)
{
$sqlInsert
=
"INSERT INTO $table ($invariantName, $columnName) VALUES "
.
join
(
","
,
map
(
"($invariantValue, $_)"
,
@insertList
)
);
map
(
"($invariantValue, $_)"
,
@insertList
)
);
}
# construct the delete list by seeing which relations exist in the
...
...
RelationSet.pm
View file @
530879b4
...
...
@@ -103,8 +103,8 @@ sub generateSqlDeltas {
if
(
$#insertList
>
-
1
)
{
$sqlInsert
=
"INSERT INTO $table ($invariantName, $columnName) VALUES "
.
join
(
","
,
map
(
"($invariantValue, $_)"
,
@insertList
)
);
map
(
"($invariantValue, $_)"
,
@insertList
)
);
}
# construct the delete list by seeing which relations exist in the
...
...
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