[Zope] MySQL on 2.3.0
Dwayne Morrison
morrison@qsilver.net
Fri, 02 Mar 2001 09:45:11 -0500
I get the same behavior with or without a column alias...
At 05:37 PM 3/2/01 +0300, Oleg Broytmann wrote:
>On Fri, 2 Mar 2001, Dwayne Morrison wrote:
> > If I run "select * from users," there is no problem. When I run "select
> > count(*) from users" the server drops the connection. I've tried logging
>
> The standard way to run this in Zope is
>
>SELECT COUNT(*) AS count_users FROM users
>
> because Zope needs a name for the column.
>
>Oleg.
>----
> Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru
> Programmers don't die, they just GOSUB without RETURN.