Mysql will return all rows by default, you need to turn that off.
I can't remember what the attribute is, read the DBD::mysql perldoc.

On Tue, 2005-02-22 at 15:22 +0100, Ing. Branislav Gerzo wrote:
> Reidy, Ron [RR], on Tuesday, February 22, 2005 at 06:58 (-0700) wrote:
> 
> my $sth = $dbh->>prepare_cached("select id, name from table");
> my $sth = $dbh->>$sth->execute();
> RR> [rr] This should read $sth->execute.  Execute retruns a
> RR> value, not a statement handle ($sth).
> 
> yes, sorry for that. In my code I have it OK (it was ma mailer causing
> that "error").
> 
> also, I'm using:
> DBI 1.46
> DBD::mysql  2.9004
> 
> any more ideas ?
> 
-- 
Scott T. Hildreth <[EMAIL PROTECTED]>

Reply via email to