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
73e08709
Commit
73e08709
authored
Feb 18, 2000
by
terry%mozilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed some functions in buglist.cgi that won't work if we're hooked up
to the shadow database.
parent
f229fcf5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
buglist.cgi
buglist.cgi
+3
-3
globals.pl
globals.pl
+7
-0
No files found.
buglist.cgi
View file @
73e08709
...
...
@@ -49,9 +49,7 @@ sub sillyness {
my
$serverpush
=
0
;
my
$useshadow
=
Param
(
"queryagainstshadowdb"
);
ConnectToDatabase
(
$useshadow
);
ConnectToDatabase
();
# print "Content-type: text/plain\n\n"; # Handy for debugging.
# $::FORM{'debug'} = 1;
...
...
@@ -875,6 +873,8 @@ query. You will have to start over at the <A HREF="query.cgi">query page</A>.
ReconnectToShadowDatabase
();
my
$query
=
GenerateSQL
(
\
@fields
,
undef
,
undef
,
$::buffer
);
...
...
globals.pl
View file @
73e08709
...
...
@@ -89,6 +89,13 @@ sub ConnectToDatabase {
}
}
sub
ReconnectToShadowDatabase
{
if
(
Param
(
"shadowdb"
))
{
SendSQL
(
"USE "
.
Param
(
"shadowdb"
));
$::dbwritesallowed
=
0
;
}
}
my
$dosqllog
=
(
-
e
"data/sqllog"
)
&&
(
-
w
"data/sqllog"
);
sub
SqlLog
{
...
...
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