Re: DBD::mysql and mysql_use_result

Alan Burlison <[email protected]>
Newsgroups gmane.comp.db.mysql.perl,gmane.comp.lang.perl.modules.dbi.general
Message-ID <[email protected]>
Tim Bunce wrote:

> Does the binary protocol allow the link to be used for other actions while
> there are still rows being sent to the client?
> 
> If not "use result" can't be the default as too much existing code would break.

My experementation would suggest that it doesn't - if you turn 
use_result on with the existing driver than then try to do a nested 
prepare/execute/fetch within the outer loop, to get an error - I can't 
remember the exact wording, but the gist is 'You can't do that now'.

-- 
Alan Burlison
--

-- 
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe:    http://lists.mysql.com/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.