|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #81594 Please add asynchronous multi_query
Submitted: 2021-11-06 06:38 UTC Modified: -
From: abecker at mailbox dot org Assigned:
Status: Open Package: MySQLi related
PHP Version: Next Major Version OS:
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2021-11-06 06:38 UTC] abecker at mailbox dot org
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.


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon Jan 24 15:03:34 2022 UTC