Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60285 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27950 invoked from network); 24 Apr 2012 17:08:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Apr 2012 17:08:52 -0000 Authentication-Results: pb1.pair.com header.from=php@hristov.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=php@hristov.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain hristov.com from 91.196.124.214 cause and error) X-PHP-List-Original-Sender: php@hristov.com X-Host-Fingerprint: 91.196.124.214 more.superhosting.bg Linux 2.6 Received: from [91.196.124.214] ([91.196.124.214:59130] helo=more.superhosting.bg) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8B/E0-34190-12ED69F4 for ; Tue, 24 Apr 2012 13:08:51 -0400 Received: from stgt-5f72a2af.pool.mediaways.net ([95.114.162.175]:50978 helo=[192.168.1.100]) by more.superhosting.bg with esmtpa (Exim 4.77) (envelope-from ) id 1SMjEL-0001Ed-8x for internals@lists.php.net; Tue, 24 Apr 2012 20:08:45 +0300 Message-ID: <4F96DE19.1010804@hristov.com> Date: Tue, 24 Apr 2012 19:08:41 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.28) Gecko/20120313 Thunderbird/3.1.20 ThunderBrowse/3.8 MIME-Version: 1.0 To: internals@lists.php.net References: <1335269202.13732.34.camel@guybrush> <4F969DD7.9000307@oracle.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - more.superhosting.bg X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - hristov.com X-Source: X-Source-Args: X-Source-Dir: Subject: Re: [PHP-DEV] Expose mysqlnd API through all MySQL extensions From: php@hristov.com (Andrey Hristov) Hi, On 04/24/2012 03:32 PM, jpauli wrote: > 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. > you probably hasn't seen mysqli_stmt_get_result() and result::fetch_all() :) > > Julien > Andrey