Re: [CDBI] CDBI::Sweet->page() not quite working with mysql?

[prev] [thread] [next] [Date index for 2005/09/23]

From: Andy Grundman
Subject: Re: [CDBI] CDBI::Sweet->page() not quite working with mysql?
Date: 01:33 on 23 Sep 2005
Rhesa Rozendaal wrote:
> Someone please tell me I'm not completely stupid here...
> 
> I'm trying paging with mysql:
> 
>   ($p, $i) = CD->page({}, { rows=>5, page=>1 });
> 
> and it dies on me with an error looking like:
> 
>   DBD::mysql::st bind_param failed: Binding non-numeric field 1, value
>   undef as a numeric! [for Statement "SELECT me.id, me.title
>   FROM   cd me
>   WHERE  1=1  LIMIT ?, ?
>   "] at /usr/lib/perl5/site_perl/5.8.5/Class/DBI.pm line 658.

This will be solved by upgrading to the latest DBD::mysql. :)

-Andy

_______________________________________________
ClassDBI mailing list
ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi

(message missing)

Re: [CDBI] CDBI::Sweet->page() not quite working with mysql?
Andy Grundman 01:33 on 23 Sep 2005

Generated at 17:55 on 28 Sep 2005 by mariachi v0.52