[Catalyst] wrong generated SQL

Kenneth S Mclane ksmclane at us.ibm.com
Fri Jun 1 18:30:11 GMT 2012


Matthias Zeichmann <matthias.zeichmann at gmail.com> wrote on 06/01/2012 
01:25:23 PM:

> From:
> 
> Matthias Zeichmann <matthias.zeichmann at gmail.com>
> 
> To:
> 
> The elegant MVC web framework <catalyst at lists.scsys.co.uk>
> 
> Date:
> 
> 06/01/2012 01:26 PM
> 
> Subject:
> 
> Re: [Catalyst] wrong generated SQL
> 
> On Fri, Jun 1, 2012 at 8:10 PM, Kenneth S Mclane <ksmclane at us.ibm.com> 
wrote:
> > I did use .next in my template, but this code should (and did) return 
4
> > rows. I am also using a pager on the resultset, which still shows 4 
pages
> > when I display the template, however I get no column data, just the 
count.
> 
> did make sure the block of your template with the while loop actually
> gets to run?
> 
> -- 
> siggen.pl: Segmentation Fault
As far as I know it does, I did have to create the template page again, 
but I have been doing it all day with other pages. The only problem I see 
is the SQL is all of a sudden doing a count(*) instead of pulling the 
fields. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20120601/a8e0f93d/attachment.htm


More information about the Catalyst mailing list