Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60848 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48690 invoked from network); 15 Jun 2012 16:36:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jun 2012 16:36:11 -0000 Authentication-Results: pb1.pair.com header.from=ircmaxell@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ircmaxell@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.170 as permitted sender) X-PHP-List-Original-Sender: ircmaxell@gmail.com X-Host-Fingerprint: 209.85.216.170 mail-qc0-f170.google.com Received: from [209.85.216.170] ([209.85.216.170:62443] helo=mail-qc0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D9/84-11656-A746BDF4 for ; Fri, 15 Jun 2012 12:36:11 -0400 Received: by qcmt36 with SMTP id t36so1999088qcm.29 for ; Fri, 15 Jun 2012 09:36:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=aYeZYqAM8/9vqq8hgLLg91A2UbWzq4/yqG65+t4TgfU=; b=V4EFRLccfv3j7EonJX2KbxTFExQ+s8fNVlO0Cly7+rLCZ5sL6BygL7cjxuVia1IFCy jx43f4gYpqlpihDHlWVH6ihvyF8sPPq1T/w1/CrcNlZqdrHw36fbDSLviWos/USXglGn /jsLDS+wcUn/IpCBwl9FiLytaMsYjSo7Woar+pl90aBDo00gcuALzM51TO7CP+3bxKjp tlrv8crJX9Uae2Ap/cFgLiR93toxXIULpjoahGyMNTWiAXTy5ZmpZBi2f2Yd9o19FW8x xHaDVCgv3cHFJWRIxe/FY/+/qnQOhPHrDIi4+IE1P3rpMRd7rEyxZrDO303pZBg1duYf FjYQ== MIME-Version: 1.0 Received: by 10.224.212.1 with SMTP id gq1mr12480595qab.54.1339778167774; Fri, 15 Jun 2012 09:36:07 -0700 (PDT) Received: by 10.229.49.204 with HTTP; Fri, 15 Jun 2012 09:36:07 -0700 (PDT) In-Reply-To: <4FDB62C2.6090702@oracle.com> References: <4FDB5604.5000704@oracle.com> <4FDB62C2.6090702@oracle.com> Date: Fri, 15 Jun 2012 12:36:07 -0400 Message-ID: To: Christopher Jones Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [PATCH - PR] Disable ATTR_EMULATE_PREPARES by default for PDO_Mysql From: ircmaxell@gmail.com (Anthony Ferrara) Chris, >>> Does this need to be an RFC (should I draft one)? Or can it just be >>> pulled as-is? > > > It needs an RFC because it needs to document whether or not the other > DB drivers should also be changed. It's a PDO driver-specific change. So to me it's fairly straight forward to see that no other drivers need changing... It doesn't even hit the mysql API level... Not saying an RFC isn't needed, just that justification isn't clear to me..= . > The big problem with this line of reasoning is that the client must > know exactly the same dialect of SQL/XQUERY/whatever that the server > does. =A0Since we can't predict the future, and so a new DB might > introduce some funky syntax, then client preparing could break visibly > or invisibly. =A0The DB client & DB server code architecture needs to > head to a model where server side prepares work (and are easy etc). We're talking about the MySQL specific API, not all APIs. We're not talking about removing emulation support either. Just disabling it by default for MySQL just like it is for almost every other driver supported by PDO... Anthony