Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:55105 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70767 invoked from network); 2 Sep 2011 20:31:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Sep 2011 20:31:12 -0000 Authentication-Results: pb1.pair.com header.from=johannes.schlueter@oracle.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=johannes.schlueter@oracle.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain oracle.com from 148.87.113.117 cause and error) X-PHP-List-Original-Sender: johannes.schlueter@oracle.com X-Host-Fingerprint: 148.87.113.117 rcsinet15.oracle.com Received: from [148.87.113.117] ([148.87.113.117:33474] helo=rcsinet15.oracle.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 18/86-31460-F0D316E4 for ; Fri, 02 Sep 2011 16:31:11 -0400 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p82KUulN013927 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 2 Sep 2011 20:31:08 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p82KEvQQ021820 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 Sep 2011 20:14:58 GMT Received: from abhmt110.oracle.com (abhmt110.oracle.com [141.146.116.62]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p82KEqbq031947; Fri, 2 Sep 2011 15:14:52 -0500 Received: from [192.168.2.230] (/93.104.58.103) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 02 Sep 2011 13:14:51 -0700 To: Stas Malyshev Cc: Christopher Jones , internals@lists.php.net In-Reply-To: <4E612D70.70606@sugarcrm.com> References: <1314966424.2150.26.camel@guybrush> <4E60F712.4010901@lerdorf.com> <4E612BBA.2000509@oracle.com> <4E612D70.70606@sugarcrm.com> Content-Type: text/plain; charset="UTF-8" Organization: Oracle Corporation Date: Fri, 02 Sep 2011 22:14:43 +0200 Message-ID: <1314994484.2150.49.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090209.4E613D0C.004F:SCFMA922111,ss=1,re=-4.000,fgs=0 Subject: Re: [PHP-DEV] Make mysqlnd default over libmysql in 5.4 From: johannes.schlueter@oracle.com (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Fri, 2011-09-02 at 12:24 -0700, Stas Malyshev wrote: > Hi! >=20 > On 9/2/11 12:17 PM, Christopher Jones wrote: > > I'm +1 for this. I think the decision& implementation needs to be don= e > > before Beta or deferred to trunk. >=20 > Frankly, I'd be more comfortable with trunk. We have enough trouble with= =20 > unit tests etc. before the beta, and introducing profound change in=20 > default without enough time for discussion and gathering feedback from= =20 > packagers, etc. doesn't look a smart thing to do. Actually the testing point was the trigger for me to write this mail. I/We should have done it earlier but for me it's too normal to build using mysqlnd. 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 ...) Looking at the last test results Rasmus' sent (using my own would be a lame cheat ;-) ) he had 6 mysqlnd test failures of which we fixed most (we also fixed others) whereas libmysql builds have more (depending on versions). Yes we could spend a few more days and do massive builds of 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. Looking at distributions: On Windows (which probably is the single most used build of PHP at all) we're using mysqlnd by default since 5.3.0. This had some pain in the beginning but went, aside from the recent OpenSSL issue, quite soomthly. Some other packagers we could meanwhile convince to use mysqlnd others told me things which boil down to "if PHP makes it default we use it". So I see little risk there. johannes [1] Yes, we will still allow building with libmysql and we will fix bugs reported there and we will verify it works but focus on mysqlnd, as we're actually handling it already --=20 Johannes Schl=C3=BCter, Oracle MySQL Engineering - connectors and Client Connectivity