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
814addc5
Commit
814addc5
authored
Jun 03, 2002
by
bbaetz%student.usyd.edu.au
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 93167 - &GroupExists and &GroupIsActive should push and pop sql state
r=justdave, jouni
parent
9985608a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
globals.pl
globals.pl
+4
-0
No files found.
globals.pl
View file @
814addc5
...
...
@@ -1271,8 +1271,10 @@ sub BugInGroup {
sub
GroupExists
{
my
(
$groupname
)
=
(
@_
);
ConnectToDatabase
();
PushGlobalSQLState
();
SendSQL
(
"select count(*) from groups where name="
.
SqlQuote
(
$groupname
));
my
$count
=
FetchOneColumn
();
PopGlobalSQLState
();
return
$count
;
}
...
...
@@ -1296,8 +1298,10 @@ sub GroupIsActive {
my
(
$groupbit
)
=
(
@_
);
$groupbit
||=
0
;
ConnectToDatabase
();
PushGlobalSQLState
();
SendSQL
(
"select isactive from groups where bit=$groupbit"
);
my
$isactive
=
FetchOneColumn
();
PopGlobalSQLState
();
return
$isactive
;
}
...
...
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