Re: [PDO] Asynchronous requests
| From: | Lukas Kahwe Smith | Date: | Fri, 20 Nov 2009 12:15:28 +0000 |
| Subject: | Re: [PDO] Asynchronous requests | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | Groups: | php.pdo |
| Request: | Send a blank email to pdo+get-330@lists.php.net to get a copy of this message | ||
On 20.11.2009, at 13:13, Lester Caine wrote:
> Johannes - I'm not sure if thing have moved on from the notes I'm looking at
> http://blog.ulf-wendel.de/?p=170 - but this would seem to
> suggest - as I had originally thought - that in order to run multiple queries asynchronously MySQL
> like other databases needs multiple connections. It was this area I was actually looking at ....
yeah .. seems like something that could fairly easily be abstracted by PDO.
> Single queries are a slightly different matter, and Firebird/Interbase already returns when the
> first result arrives if you want to do that.
right .. which is what PDO does by default. only the mysql driver currently supports actively
disabling this .. mainly because the mysql protocol does not support having multiple open query
handles.
regards,
Lukas Kahwe Smith
mls@pooteeweet.org