Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48789 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59338 invoked from network); 15 Jun 2010 14:56:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jun 2010 14:56:41 -0000 Authentication-Results: pb1.pair.com header.from=patrick.allaert@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=patrick.allaert@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: patrick.allaert@gmail.com X-Host-Fingerprint: 74.125.82.170 mail-wy0-f170.google.com Received: from [74.125.82.170] ([74.125.82.170:43741] helo=mail-wy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 86/D1-47853-7A4971C4 for ; Tue, 15 Jun 2010 10:56:41 -0400 Received: by wyf22 with SMTP id 22so2646868wyf.29 for ; Tue, 15 Jun 2010 07:56:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=EAV2siRPDWF90+rKKOtZwTwpuzhPK8ZgONoxt0LcbsU=; b=YKYEW2dlU28NlsyVkLCDm4y/GRSot4f0mHB+iw+dlvuaIbX5hbsc/iw0ShX5s3MiCS ldciGhQSw5mfDSNFtlrh5lAR67JcjQZZ9QN3A75AnlC8bUES6S7AFz/qa159IS25/Bxd gK6WzDucTZsbVG4of0sQHKJBbUVnLMH5eqNhM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=b3JMmiUWasBgsj2/SGy1FEdRZQrra+3DtcGl33Al9U78H/JP51e9Ddb5sc0Est1m7Z gyCID0Y/FyM29KCFIL2mYYHYNE376PKjP7RJkraVo2Lp28Rogm2Q1tM2P+JaVMhrnTq6 h1gYcwxKQrhbc2ek5vxNV0XuADMY3g44CnHto= MIME-Version: 1.0 Received: by 10.216.168.81 with SMTP id j59mr3699877wel.61.1276613790072; Tue, 15 Jun 2010 07:56:30 -0700 (PDT) Received: by 10.216.176.9 with HTTP; Tue, 15 Jun 2010 07:56:29 -0700 (PDT) In-Reply-To: References: Date: Tue, 15 Jun 2010 16:56:29 +0200 Message-ID: To: Ilia Alshanetsky Cc: Adam Harvey , internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Remove sqlite2 from trunk From: patrick.allaert@gmail.com (Patrick ALLAERT) 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. Patrick 2010/6/15 Ilia Alshanetsky : > Just to clarify, removal does not mean deletion, it would simply become a > PECL extension people who need it can still use. > > On Tue, Jun 15, 2010 at 9:30 AM, Adam Harvey wrote: > >> On 15 June 2010 19:41, Ilia Alshanetsky wrote: >> > After speaking to a few developers in DPC, I think it makes sense for = us >> to >> > drop the Sqlite2 extensions from Trunk as they are superseded by the >> Sqlite3 >> > extensions. The sqlite2 library is no longer maintainer and the migrat= ion >> > path from version 2 to 3 is very simple. Unless there any objections, = I'd >> > like to make this happen in the next week or two. >> >> Funnily enough, we had a short discussion about this on IRC last week; >> I was meaning to write an RFC before getting swamped at work. My >> feeling (and I'm speaking just for myself here) is that we can't >> really get rid of ext/sqlite in the short to medium term: people have >> gotten too used to having it available and bundled in a default PHP >> installation. Obviously, though, we can't really keep bundling an >> unmaintained library, either, and we should start nudging people >> gently towards sqlite3. >> >> What I'd prefer: >> >> =E2=80=93 Deprecate ext/sqlite in trunk, at least by having sqlite_open(= ) >> generate an E_DEPRECATED warning. >> =E2=80=93 Unbundle libsqlite2 in the next major version after what's cur= rently >> in trunk and disable the extension by default, but still allow >> compilation against an external libsqlite2 if the user really wants >> to. >> =E2=80=93 Move ext/sqlite to PECL at some point thereafter. >> >> PDO would be handled similarly. >> >> If someone has some real world numbers on the use of ext/sqlite, that >> might be handy. From where I sit, though, it does seem to have become >> a bit of a standard, so I'd rather not pull the rug out from under >> people that suddenly =E2=80=94 particularly given it's not even deprecat= ed at >> the moment. >> >> Adam