Re: Expose mysqlnd API through all MySQL extensions
| From: | Andrey Hristov | Date: | Tue, 24 Apr 2012 17:08:41 +0000 |
| Subject: | Re: Expose mysqlnd API through all MySQL extensions | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-60285@lists.php.net to get a copy of this message | ||
Hi,
On 04/24/2012 03:32 PM, jpauli wrote:
On Tue, Apr 24, 2012 at 2:34 PM, Ulf Wendel<ulf.wendel@oracle.com> wrote:you probably hasn't seen mysqli_stmt_get_result() and result::fetch_all() :)Am 24.04.2012 14:27, schrieb jpauli:I agree with that, but I still think having mysqli_***() function that is only related to mysqlnd stuff is a bad idea.I understand your thoughts, but I disagree as I think it would be much more clean to expose it via mysqlnd_***() API than through each MySQL ext (and for PDO that would be even more dirty). That would as well add more and more #ifdef MYSQLND inside their source... I was thinking the same way libxml2 API is provided inside ext/libxml instead of through each PHP XML extension API.A fourth MySQL API is not my goal. There's enough confusion with three of them already.
JulienAndrey