Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25261 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74734 invoked by uid 1010); 9 Aug 2006 12:11:13 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 74719 invoked from network); 9 Aug 2006 12:11:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Aug 2006 12:11:13 -0000 X-Host-Fingerprint: 87.123.100.133 i577B6485.versanet.de Received: from ([87.123.100.133:15597] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id 49/E4-30310-F2CC9D44 for ; Wed, 09 Aug 2006 07:51:12 -0400 Message-ID: <49.E4.30310.F2CC9D44@pb1.pair.com> To: internals@lists.php.net Date: Wed, 09 Aug 2006 13:51:09 +0200 User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 87.123.100.133 Subject: Re: [PHP-DEV] PDO statement execute enhancement From: lsmith@php.net (Lukas Smith) Marian Kostadinov wrote: > Yes, that's my idea - to ignore keys that are not defined as placeholder. > And not only for objects but for arrays also. I do not know the implementation in PDO, but the implementation I made in MDB2 only tries to parse the placeholders if it has to emulate or detects that a placeholder type is used that needs to be rewritten for the given RDBMS. If PDO has a similar implementation it would mean now that PDO always has to parse the entire query to determine which keys to ignore. I feel this is suboptimal and therefore I would be opposed to this change. regards, Lukas