Re: Error
| From: | Johannes Schlüter | Date: | Tue, 14 Aug 2012 09:45:23 +0000 |
| Subject: | Re: Error | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-9690@lists.php.net to get a copy of this message | ||
Hi,
thanks for the notice. Seems like MySQL was upgraded on the box but not
fully tested. release is a keyword since 5.0 :-)
Also thanks for noticing the second issue.
johannes
On Sun, 2012-08-12 at 23:08 -0400, Patrick Demers wrote:
> Hi,
>
> when I try to download memcached, I can see an SQL error
>
> url : http://www.pecl.php.net/get/memcached-1.0.2.tgz
>
> DB Error: syntax error SELECT fullpath, release, id FROM files WHERE UPPER(basename) =
> 'MEMCACHED-1.0.2.TGZ' [nativecode=1064 ** You have an error in your SQL syntax; check the
> manual that corresponds to your MySQL server version for the right syntax to use near 'release,
> id FROM files WHERE UPPER(basename) = 'MEMCACHED-1.0.2.TGZ'' at line 1]
>
>
> You might want to correct possible injection on this page too
>
> url : http://www.pecl.php.net/get/memcached-1.0.2.tgz'
> DB Error: syntax error SELECT id FROM releases WHERE package = 847 AND version =
> '1.0.2.tgz'' [nativecode=1064 ** You have an error in your SQL syntax; check the
> manual that corresponds to your MySQL server version for the right syntax to use near
> ''1.0.2.tgz''' at line 1]
>
>
> Have a nice day
>
> Patrick Demers