List:MySQL and Perl« Previous MessageNext Message »
From:Tim Bunce Date:August 17 2004 5:35pm
Subject:Re: DBD::mysql and mysql_use_result
View as plain text  
On Fri, Aug 13, 2004 at 11:17:51PM +0100, Alan Burlison wrote:
> 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'.

I thought so. Thanks for confirming it. (The standard workaround of using
multiple dbh applies.)

Tim.
Thread
DBD::mysql and mysql_use_resultAlan Burlison6 Aug
  • Re: DBD::mysql and mysql_use_resultJochen Wiedmann6 Aug
    • Re: DBD::mysql and mysql_use_resultPatrick Galbraith9 Aug
  • Re: DBD::mysql and mysql_use_resultRudy Lippan6 Aug
  • Re: DBD::mysql and mysql_use_resultTim Bunce6 Aug
Re: DBD::mysql and mysql_use_resultAlan Burlison6 Aug
  • Re: DBD::mysql and mysql_use_resultPatrick Galbraith9 Aug
    • Re: DBD::mysql and mysql_use_resultRudy Lippan10 Aug
      • Re: DBD::mysql and mysql_use_resultTim Bunce12 Aug
        • Re: DBD::mysql and mysql_use_resultAlan Burlison14 Aug
          • Re: DBD::mysql and mysql_use_resultTim Bunce17 Aug
      • Re: DBD::mysql and mysql_use_resultPatrick Galbraith18 Aug
Re: DBD::mysql and mysql_use_resultTim Bunce7 Aug
  • Re: DBD::mysql and mysql_use_resultPatrick Galbraith9 Aug
Re: DBD::mysql and mysql_use_resultAlan Burlison9 Aug