List:MySQL and Perl« Previous MessageNext Message »
From:Alan Burlison Date:August 13 2004 10:17pm
Subject:Re: DBD::mysql and mysql_use_result
View as plain text  
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
--
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