Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78862 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80552 invoked from network); 10 Nov 2014 17:03:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Nov 2014 17:03:14 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.215.10 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.215.10 mail.experimentalworks.net Received: from [217.114.215.10] ([217.114.215.10:51632] helo=mail.experimentalworks.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 20/10-13831-0DFE0645 for ; Mon, 10 Nov 2014 12:03:13 -0500 Received: by mail.experimentalworks.net (Postfix, from userid 1003) id D170E47139; Mon, 10 Nov 2014 18:03:27 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on km31408.keymachine.de X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.2 X-Spam-HAM-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP Received: from [192.168.2.34] (ppp-93-104-1-235.dynamic.mnet-online.de [93.104.1.235]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: johannes@schlueters.de) by mail.experimentalworks.net (Postfix) with ESMTPSA id 4B6EE47138; Mon, 10 Nov 2014 18:03:22 +0100 (CET) Message-ID: <1415638978.23992.4.camel@kuechenschabe> To: Peter Wolanin Cc: internals@lists.php.net Date: Mon, 10 Nov 2014 18:02:58 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PDO mysql - add feature to enforce single statements? From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Thu, 2014-11-06 at 19:52 -0500, Peter Wolanin wrote: > Suggested solution: add a PDO attribute that could be set on a > connection or a driver option for PDO::prepare to enforce the limit of > a single query being prepared or run. The issue is that disabling multi-query implicitly also disables support for stored procedures as the same flag configures handling of operations with multiple result sets. So this probably needs more thoughts especially in order to get "similar" behavior with different databases ... can you add a feature request in the bug tracker for this? johannes