AW: can't return a result set in the given context

"Selke, Gisbert W." <[email protected]> Tue, 1 Apr 2008 14:03:11 +0200
Newsgroups gmane.comp.db.mysql.perl
Message-ID <[email protected]>
> -----Ursprüngliche Nachricht-----
> Von: Wechsler, Steven [mailto:[email protected]]
> Gesendet: Montag, 31. März 2008 23:14
> I get the above error whenever I try to call a stored procedure using
> DBI with DBD::MySQL. The exact message is:
> 
> DBD::mysql::st execute failed: PROCEDURE <procname> can't return a
> result set in the given context at /dba/steve/scripts/run_sql.pl line
> 517, <FILE> line 2.
> 
> Here is the connect string:
> 
> $dsn =
> DBI:mysql:database=<dbname>;host=<hostname>;port=3316;mysql_mu
> lti_result
> s=1
> DBI->connect($dsn, $login, $password,
>                                {PrintError => 1, AutoCommit => 1,
>                                 syb_err_handler => 
> \&message_handler } )
> 
> 
> DBD::mysql version is 3.0007
It may be hard to tell for anyone not knowing the stored procedure that you
try to call, and not knowing the "given context" that is, in fact, not
given.
On a side note, are you sure you want a syb_err_handler for a MySQL
connection?

\Gisbert

-- 
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe:    http://lists.mysql.com/[email protected]