Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121814 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 24168 invoked from network); 27 Nov 2023 09:23:34 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 27 Nov 2023 09:23:34 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 8655D18003E for ; Mon, 27 Nov 2023 01:23:39 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail.sakiot.com (mail.sakiot.com [160.16.227.216]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 27 Nov 2023 01:23:38 -0800 (PST) Received: from smtpclient.apple (softbank060067217005.bbtec.net [60.67.217.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.sakiot.com (Postfix) with ESMTPSA id 973DC401E3; Mon, 27 Nov 2023 18:23:28 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sakiot.com; s=default; t=1701077008; bh=cWlQ0/jzz4giDxaRW/f+LByfYo3iZ7lTl4QmDUNPNRc=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=BsLZodRTvNsv10v1gSOCjqQdfnszvERtWr4TXE6NmZpymVdtlXIrlZ63nuy8mgEzf KW0zTwfxtvX3OORbbkUXXExn79or7qzlj/0Dp5Y63VaC4/Qe+WiRhxx7CtqoiI6jnC br79+QQftYmLmkxZzBT2gv2WC4fRCOHlU6gDj7ps= Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) In-Reply-To: Date: Mon, 27 Nov 2023 18:23:15 +0900 Cc: PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: <07141C6E-8677-484C-9F31-EC35367536B4@sakiot.com> References: <17F3158B-EB1C-4546-A24D-F7DA957BA4B7@sakiot.com> To: Matteo Beccati X-Mailer: Apple Mail (2.3731.700.6) Subject: Re: [PHP-DEV] [PDO] I want to unify the behavior when changing the autocommit mode setting while a transaction is open. From: saki@sakiot.com (Saki Takamachi) Hi Matteo, > PDO's main goal was to make building db drivers easier, and it's not = meant to be a full DB abstraction layer. >=20 > As such, it is not expected that all databases behave the same, = especially for exotic functionality, such as autocommit. As you say, such behavior varies from DB to DB. However, with the = current implementation of PDO, we don't know how it will work until you = actually try it, and each driver has different behavior, so it is = important to describe how it works in the documentation is also in a = difficult situation. Personally, I think it would be better if specifications could be = standardized to a certain extent, within reason, but what do you think? Regards. Saki=