Re: Expose mysqlnd API through all MySQL extensions
| From: | jpauli | Date: | Tue, 24 Apr 2012 13:32:46 +0000 |
| Subject: | Re: Expose mysqlnd API through all MySQL extensions | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-60278@lists.php.net to get a copy of this message | ||
On Tue, Apr 24, 2012 at 2:34 PM, Ulf Wendel <ulf.wendel@oracle.com> wrote:
> Am 24.04.2012 14:27, schrieb jpauli:
>
>> 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.
I agree with that, but I still think having mysqli_***() function that
is only related to mysqlnd stuff is a bad idea.
Julien