Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60278 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99023 invoked from network); 24 Apr 2012 13:33:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Apr 2012 13:33:30 -0000 Authentication-Results: pb1.pair.com smtp.mail=julienpauli@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=julienpauli@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.83.42 as permitted sender) X-PHP-List-Original-Sender: julienpauli@gmail.com X-Host-Fingerprint: 74.125.83.42 mail-ee0-f42.google.com Received: from [74.125.83.42] ([74.125.83.42:37282] helo=mail-ee0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 03/BB-34190-9ABA69F4 for ; Tue, 24 Apr 2012 09:33:30 -0400 Received: by eekb57 with SMTP id b57so162243eek.29 for ; Tue, 24 Apr 2012 06:33:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=odVoYCZwns7cdso0erN7ckGkoZS3GzhwCDu6GwiJAEM=; b=BJ+Iq9Wuu8BtczUKZnJKH/2jZzPq13jtRuZmXi/amsuO7I081zB6cRyY4SbPGxfHZc j5gbyN9BYrpL7uu6BX/cikG1JLDzdTVAHUM8UZ1F58I7Kw+m3BeF08nELGCTJhMmf+uu g4yRFYv4wE44YatZp7+4cnv0/5H3f/Uf8NMvv/az4+Dus7ZoMZSGVUmKusN75o3tIEET guDgE3qrnH2N4JHfBS7ipNHb6jgWafxAfIS4L9N6Aqcu4+CrMwxpDuaWPP3YicmWM/ir hQ355poeJsI/aPchTMRhf7Qn70G7StNs/JqaNhcjcz9gCB8xwEi7lEMZOGeAOTiOsX6i DoNw== Received: by 10.213.10.10 with SMTP id n10mr1755152ebn.209.1335274407201; Tue, 24 Apr 2012 06:33:27 -0700 (PDT) MIME-Version: 1.0 Sender: julienpauli@gmail.com Received: by 10.213.29.83 with HTTP; Tue, 24 Apr 2012 06:32:46 -0700 (PDT) In-Reply-To: <4F969DD7.9000307@oracle.com> References: <1335269202.13732.34.camel@guybrush> <4F969DD7.9000307@oracle.com> Date: Tue, 24 Apr 2012 15:32:46 +0200 X-Google-Sender-Auth: pPHlVC-_DcbXoNByRb76wq-wQ3s Message-ID: To: Ulf Wendel Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Expose mysqlnd API through all MySQL extensions From: jpauli@php.net (jpauli) On Tue, Apr 24, 2012 at 2:34 PM, Ulf Wendel 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