| 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_result | Alan Burlison | 6 Aug |
| • Re: DBD::mysql and mysql_use_result | Jochen Wiedmann | 6 Aug |
| • Re: DBD::mysql and mysql_use_result | Patrick Galbraith | 9 Aug |
| • Re: DBD::mysql and mysql_use_result | Rudy Lippan | 6 Aug |
| • Re: DBD::mysql and mysql_use_result | Tim Bunce | 6 Aug |
| • Re: DBD::mysql and mysql_use_result | Alan Burlison | 6 Aug |
| • Re: DBD::mysql and mysql_use_result | Patrick Galbraith | 9 Aug |
| • Re: DBD::mysql and mysql_use_result | Rudy Lippan | 10 Aug |
| • Re: DBD::mysql and mysql_use_result | Tim Bunce | 12 Aug |
| • Re: DBD::mysql and mysql_use_result | Alan Burlison | 14 Aug |
| • Re: DBD::mysql and mysql_use_result | Tim Bunce | 17 Aug |
| • Re: DBD::mysql and mysql_use_result | Patrick Galbraith | 18 Aug |
| • Re: DBD::mysql and mysql_use_result | Tim Bunce | 7 Aug |
| • Re: DBD::mysql and mysql_use_result | Patrick Galbraith | 9 Aug |
| • Re: DBD::mysql and mysql_use_result | Alan Burlison | 9 Aug |
