зеркало из https://github.com/mozilla/gecko-dev.git
Fix for bug 102723: If genstats dies trying to change databases it will now include the name of the statistic it was trying to generate in addition to the name of the database it was trying to change to in the error message.
Patch by Myk Melez <myk@mozilla.org>. r=dmose
This commit is contained in:
Родитель
f0a81d1c20
Коммит
5416dd6edd
|
@ -22,7 +22,7 @@
|
|||
#
|
||||
|
||||
#
|
||||
# $Id: genstats-bz.cgi,v 1.1 2001/04/14 01:47:40 myk%mozilla.org Exp $
|
||||
# $Id: genstats-bz.cgi,v 1.2 2001/10/02 22:56:50 terry%mozilla.org Exp $
|
||||
#
|
||||
# generate statistics related to non-Netscape participation in mozilla.org
|
||||
#
|
||||
|
@ -195,7 +195,7 @@ for ( ; $curYear <= $lastYear ; $curYear++ ) {
|
|||
if (! $::db->selectdb($::STATINFO[$_][1]) ) {
|
||||
die "MySQL returned \"$Mysql::db_errstr\" while " .
|
||||
"attempting to selectdb(\"$::STATINFO[$_][1]" .
|
||||
"\")";
|
||||
"\") for the report \"$::STATINFO[$_][0]\"";
|
||||
}
|
||||
|
||||
if (! $F::debugHtml ) {
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#
|
||||
|
||||
#
|
||||
# $Id: genstats.cgi,v 1.13 2001/04/23 06:02:59 myk%mozilla.org Exp $
|
||||
# $Id: genstats.cgi,v 1.14 2001/10/02 22:56:49 terry%mozilla.org Exp $
|
||||
#
|
||||
# generate statistics related to non-Netscape participation in mozilla.org
|
||||
#
|
||||
|
@ -214,7 +214,7 @@ for ( ; $curYear <= $lastYear ; $curYear++ ) {
|
|||
if (! $::db->selectdb($::STATINFO[$_][1]) ) {
|
||||
die "MySQL returned \"$Mysql::db_errstr\" while " .
|
||||
"attempting to selectdb(\"$::STATINFO[$_][1]" .
|
||||
"\")";
|
||||
"\") for the report \"$::STATINFO[$_][0]\"";
|
||||
}
|
||||
|
||||
if (! $F::debugHtml ) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче