Re: [pear-webmaster] [PEAR-BUG] Bug #1451 [Asn]: Statistics broken links... and more on the subject
| From: | Martin Jansen | Date: | Tue, 27 Jul 2004 06:12:44 +0000 |
| Subject: | Re: [pear-webmaster] [PEAR-BUG] Bug #1451 [Asn]: Statistics broken links... and more on the subject | ||
| References: | 1 2 | Groups: | php.pear.webmaster |
| Request: | Send a blank email to pear-webmaster+get-2867@lists.php.net to get a copy of this message | ||
On Mon Jul 26, 2004 at 06:3241PM -0000, danielc@analysisandsolutions.com wrote:
> Can you please update the database with this query:
> alter table package_stats add last_dl datetime
> default '0000-00-00 00:00:00' not null;
>
> _AND_ update pear-database.php lines 1688 et seq to this:
>
> $query = 'INSERT INTO package_stats VALUES (1, ?, ?, ?, ?, ?, ?)';
> $dbh->query($query, array($pkg_info['name'],
> $version,
> $package,
> $release_id,
> $pkg_info['categoryid'],
> date('Y-m-d H:i:s')
> )
> );
I don't think this will suffice, because the update statement a few
lines below must also be adjusted. Or am I missing something?
--
- Martin Martin Jansen
http://martinjansen.com/