Re: cvs: php4 /ext/standard image.c php-master-web/fetch mirrors.php
| From: | Jim Winstead | Date: | Fri, 08 Mar 2002 02:04:48 +0000 |
| Subject: | Re: cvs: php4 /ext/standard image.c php-master-web/fetch mirrors.php | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-80905@lists.php.net to get a copy of this message | ||
Markus Fischer <mfischer@guru.josefine.at> wrote:
>> Index: php-master-web/fetch/mirrors.php
>> diff -u php-master-web/fetch/mirrors.php:1.1 php-master-web/fetch/mirrors.php:1.2
>> --- php-master-web/fetch/mirrors.php:1.1 Fri Sep 21 15:01:08 2001
>> +++ php-master-web/fetch/mirrors.php Thu Mar 7 19:57:07 2002
>> @@ -7,7 +7,7 @@
>> // Connect and generate the list from the DB
>> if (@mysql_connect("localhost","nobody","")) {
>> if (@mysql_select_db("php3")) {
>> - $res = @mysql_query("SELECT * FROM mirrors ORDER BY cc");
>> + $res = @mysql_query("SELECT mirrors.*,country.name AS cname FROM mirrors LEFT
>> JOIN country ON mirrors.cc = country.id ORDER BY country.name,hostname");
>> if ($res) {
>> echo "<?php\n\$MIRRORS = array(\n";
>> while ($row = @mysql_fetch_array($res)) {
>
> Was it intended to let this slip through ?
funny. that was actually something i checked in. i guess the logging
scripts got confused with the simultaneous checkins.
jim