Req #81594 [Opn->Wfx]: Please add asynchronous multi_query
Edit report at https://bugs.php.net/bug.php?id=81594&edit=1
ID: 81594
Updated by: dharman@php.net
Reported by: abecker at mailbox dot org
Summary: Please add asynchronous multi_query
-Status: Open
+Status: Wont fix
Type: Feature/Change Request
Package: MySQLi related
PHP Version: Next Major Version
Block user comment: N
Private report: N
New Comment:
There are currently no plans to do that and it's highly unlikely that this would ever be
implemented.
If you really need this feature, please follow the RFC process, but let me personally say I would be
against this feature.
Previous Comments:
------------------------------------------------------------------------
[2021-11-06 06:38:59] abecker at mailbox dot org
Description:
------------
The mysqli::query function accepts the MYSQLI_ASYNC flag, enabling fully asynchronous operation.
mysqli::multi_query is missing this feature.
The documentation of mysqli::multi_query says, "Queries are sent asynchronously in a single
call to the database". This is somewhat misleading, since the network operation is still
synchronous, only the query execution is asynchronous. In case of a remote database server with
latency, this obstructs the implementation of concurrency.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=81594&edit=1
Thread (2 messages)