зеркало из https://github.com/mozilla/pjs.git
Bug 16439 despot/genstats using MySQL reserved "when" as colname
r=justdave
This commit is contained in:
Родитель
d1e99435a4
Коммит
de7da0ec5e
|
@ -121,8 +121,8 @@ create table changes (
|
|||
oldvalue varchar(255),
|
||||
newvalue varchar(255),
|
||||
who varchar(32) not null,
|
||||
when timestamp not null,
|
||||
index(when)
|
||||
changed_when timestamp not null,
|
||||
index(changed_when)
|
||||
);
|
||||
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#
|
||||
|
||||
#
|
||||
# $Id: genstats.cgi,v 1.14 2001-10-02 22:56:49 terry%mozilla.org Exp $
|
||||
# $Id: genstats.cgi,v 1.15 2005-12-19 00:47:50 timeless%mozdev.org Exp $
|
||||
#
|
||||
# generate statistics related to non-Netscape participation in mozilla.org
|
||||
#
|
||||
|
@ -49,7 +49,7 @@ use Date::Format;
|
|||
["New checkers-in (source)",
|
||||
# statistic title
|
||||
"mozusers", # database
|
||||
"changes.when", # timestamp field
|
||||
"changes.changed_when", # timestamp field
|
||||
"changes.email", # email addr field
|
||||
"select distinct id from changes,users where changes.field=" .
|
||||
"'cvs_group' and changes.email=users.email ".
|
||||
|
@ -59,7 +59,7 @@ use Date::Format;
|
|||
["New checkers-in (docs)",
|
||||
# statistic title
|
||||
"mozusers", # database
|
||||
"changes.when", # timestamp field
|
||||
"changes.changed_when", # timestamp field
|
||||
"changes.email", # email addr field
|
||||
"select distinct id from changes,users where changes.field=" .
|
||||
"'gila_group' and changes.email=users.email ".
|
||||
|
|
Загрузка…
Ссылка в новой задаче