Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48794 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83667 invoked from network); 15 Jun 2010 17:12:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jun 2010 17:12:53 -0000 Authentication-Results: pb1.pair.com header.from=Johannes.Schlueter@Sun.COM; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=Johannes.Schlueter@Sun.COM; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain Sun.COM from 192.18.6.24 cause and error) X-PHP-List-Original-Sender: Johannes.Schlueter@Sun.COM X-Host-Fingerprint: 192.18.6.24 gmp-eb-inf-2.sun.com Solaris 10 (beta) Received: from [192.18.6.24] ([192.18.6.24:58405] helo=gmp-eb-inf-2.sun.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 25/06-47853-494B71C4 for ; Tue, 15 Jun 2010 13:12:53 -0400 Received: from fe-emea-10.sun.com (gmp-eb-lb-1-fe1.eu.sun.com [192.18.6.7] (may be forged)) by gmp-eb-inf-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id o5FHCnXJ014017 for ; Tue, 15 Jun 2010 17:12:49 GMT MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=UTF-8 Received: from conversion-daemon.fe-emea-10.sun.com by fe-emea-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) id <0L4200D00FMVIK00@fe-emea-10.sun.com> for internals@lists.php.net; Tue, 15 Jun 2010 18:12:24 +0100 (BST) Received: from [192.168.1.33] ([unknown] [93.104.45.183]) by fe-emea-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) with ESMTPSA id <0L4200D66FS74CE0@fe-emea-10.sun.com>; Tue, 15 Jun 2010 18:12:08 +0100 (BST) Date: Tue, 15 Jun 2010 19:12:05 +0200 In-reply-to: Sender: Johannes.Schlueter@Sun.COM To: Patrick ALLAERT Cc: Ilia Alshanetsky , Adam Harvey , internals@lists.php.net Message-ID: <1276621926.16336.341.camel@guybrush> Organization: Sun Microsystems References: Subject: Re: [PHP-DEV] Remove sqlite2 from trunk From: Johannes.Schlueter@Sun.COM (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Tue, 2010-06-15 at 16:56 +0200, Patrick ALLAERT wrote: > What about doing the same with MySQL extensions ? > > Currently there is 3 main ways to access a MySQL server: > ext/mysql > ext/mysqli > PDO_MYSQL > > Additionally, mysqlnd has to be considered as a possible library for > each of them. > > I have the feeling that there is a benefit at removing ext/mysql with > the same arguments as for sqlite 2. There are a few differences: - The base library SQLite (2) depends on isn't maintained anymore. For mysql these are libmysql and mysqlnd. Both are maintained. - Most applications, tutorials, ... use the mysql_ functions. I would really like to get rid of the old mysql (less code -> less maintenance) extension but assume it will cause lots of pain. I was once thinking about a PHP implementation of a compatibility wrapper based on mysqli. johannes -- Johannes Schlüter MySQL Engineering Connectors and Client Connectivity Sun Microsystems GmbH, Sonnenallee 1, 85551 Kirchheim-Heimstetten Amtsgericht München: HRB161028 Geschäftsführer: Jürgen Kunz