Home > Archive > PHP PEAR Questions and Answers > October 2005 > testing needed for patch prior to commit
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
testing needed for patch prior to commit
|
|
| Greg Beaver 2005-10-22, 3:55 am |
| Hi,
I've got a weird issue with this patch, I am getting a "ERROR:
* DB Error: truncated... SELECT c.name FROM categories c, packages p
WHERE c.id = p.category AND p.package_type = 'pear' AND p.approved = 1
AND p.name = 'pkg1' [DB Error: truncated]"
When I try to edit a package, and I'm not sure if this is a problem with
my database, or with the code.
Could others try applying this patch to current pearweb and see if you
get the same problem when you try to delete a release?
THanks,
Greg
| |
| Helgi Žormar 2005-10-22, 3:55 am |
| On Sat, 22 Oct 2005 01:39:54 -0400, Greg Beaver wrote:
> Hi,
>
> I've got a weird issue with this patch, I am getting a "ERROR:
>
> * DB Error: truncated... SELECT c.name FROM categories c, packages p
> WHERE c.id = p.category AND p.package_type = 'pear' AND p.approved = 1
> AND p.name = 'pkg1' [DB Error: truncated]"
IIRC that happens when you use getAssoc or similar but only fetch one
field, like that query does, make sure it's getCol or getRow or what ever
you need.
- Helgi
|
|
|
|
|