Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:55106 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72457 invoked from network); 2 Sep 2011 20:38:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Sep 2011 20:38:42 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 67.192.241.113 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 67.192.241.113 smtp113.dfw.emailsrvr.com Linux 2.6 Received: from [67.192.241.113] ([67.192.241.113:38389] helo=smtp113.dfw.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 20/E6-31460-0DE316E4 for ; Fri, 02 Sep 2011 16:38:41 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp11.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id D91C5D03F8; Fri, 2 Sep 2011 16:38:37 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp11.relay.dfw1a.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id 675DCD0411; Fri, 2 Sep 2011 16:38:37 -0400 (EDT) Message-ID: <4E613ECC.2010007@sugarcrm.com> Date: Fri, 02 Sep 2011 13:38:36 -0700 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:6.0.1) Gecko/20110830 Thunderbird/6.0.1 MIME-Version: 1.0 To: =?UTF-8?B?Sm9oYW5uZXMgU2NobMO8dGVy?= CC: Christopher Jones , "internals@lists.php.net" References: <1314966424.2150.26.camel@guybrush> <4E60F712.4010901@lerdorf.com> <4E612BBA.2000509@oracle.com> <4E612D70.70606@sugarcrm.com> <1314994484.2150.49.camel@guybrush> In-Reply-To: <1314994484.2150.49.camel@guybrush> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] Make mysqlnd default over libmysql in 5.4 From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! On 9/2/11 1:14 PM, Johannes Schlüter wrote: > Looking at the tests we have: Most tests are written with mysqlnd in > focus. mysqlnd is what we (Oracle/MySQL) test the most in PHP > perspective for quite some time already. By making mysqlnd the default > we remove one moving piece out of the test equation which simplifies > tests[1]. (we still have multiple server versions to keep in mind ...) Are you implying you would no longer fix failures on libmysql? If so, we should announce libmysql is unsupported and I definitely am against doing anything like this in 5.4. If you are not meaning this, then absolutely nothing changes with regard to unit tests - they still must pass on both modes. > different combinations (and make the tests more complex to cover > multiple cases) or focus on having a good and stable default which > behaves the same on all platforms. We should focus on having unit tests passing, otherwise there's no point in having them. If we do not drop libmysql support, we should have exactly the same results in libmysql as we have in mysqlnd. Otherwise it is called "unsupported configuration". If the plan is to keep pretense of supporting libmysql while actually neglecting to do fixes and fix tests for it in hope that people would eventually switch - this is not the right way to do it. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227