Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:52097 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81090 invoked from network); 30 Apr 2011 15:13:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Apr 2011 15:13:45 -0000 Authentication-Results: pb1.pair.com smtp.mail=ircmaxell@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ircmaxell@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: ircmaxell@gmail.com X-Host-Fingerprint: 209.85.160.42 mail-pw0-f42.google.com Received: from [209.85.160.42] ([209.85.160.42:60406] helo=mail-pw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2D/7B-10915-8272CBD4 for ; Sat, 30 Apr 2011 11:13:44 -0400 Received: by pwj3 with SMTP id 3so2328272pwj.29 for ; Sat, 30 Apr 2011 08:13:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=Q6jT2V5BkbyroCBmqmr2FCuc3Z+/uAVy/H7/RZuhepI=; b=PcR81fJKBbIAgD2U+hJyLOS1J7igsUvbanIuXeh1pl3O3jSPGCgJdklRw7N1sEsmXI klGFNUBkMqASSnr9YbYje/a7VXkRDasVu2pVz54LgQIh97Xlbz4wDR/A/3lhvrexR3HV gx04edb0N1Zx5ByXkM6L6CSAxC9o/qIiNFVf8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=CqdceiBO3UWsYBXhpYMm394UuMAP2efShKAuP8NEEzHtNPdlXRGRhRnQN+bpbqeajj RPv6MxCmXl2NiBATCEkWtzb3ZppGhJjKU0BiYydY/SuktJ0fbiLP7QwiyKS0HCRCeKqT ZVcMyDoD5LdVosJmoVL/P7Tyyp64if4GIEk5c= MIME-Version: 1.0 Received: by 10.68.69.15 with SMTP id a15mr2330691pbu.411.1304176421158; Sat, 30 Apr 2011 08:13:41 -0700 (PDT) Received: by 10.68.54.199 with HTTP; Sat, 30 Apr 2011 08:13:41 -0700 (PDT) Date: Sat, 30 Apr 2011 11:13:41 -0400 Message-ID: To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Change Request: Make PDO default to not emulate prepared statements for MySQL From: ircmaxell@gmail.com (Anthony Ferrara) I have already reported this issue on the bug tracker: http://bugs.php.net/bug.php?id=54638 But I figured it would be good to start a discussion on it here. To me, I consider this a pretty significant issue since it's not possible to do true prepared statements while using PDO. All the code to do so is there (and it does work). But it's just the single flag that defaults emulation to be on that's holding things up. Since it will fallback to using emulation mode if the library or server can't support prepared statements, I don't personally see any issue with changing the default in a point release. Thanks Anthony