Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:128621 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by lists.php.net (Postfix) with ESMTPS id 0C3961A00BC for ; Wed, 3 Sep 2025 22:38:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1756939022; bh=ehhwx4DsNOJ9Xn5TCYkutaD+jz1CQt2NxmTPd5ExkLY=; h=Date:From:To:In-Reply-To:Subject:From; b=mwIPpP9+aze2fM4u0iPU8HMNzoStZyU/BmMvXhouwLGS+TlLoU0OrGfROMAJfCHJb 6MFUWWGKYSKRwnfrDnJpMax3o0XKcZalM8RfSvVDBEj3vgIiRarnmXRFQfWGUwPrWe NGRrJrHNAKNh0a49luRd0iOdwkghEJqkZR1ovCLT5RvVhHhGDi61s2yu0Sym+RVG6+ 6WBIEQQ7/EVCWddGE25F9kspyzvpzeDnvP5DiRGziTWyOb05ytAHc/PuVJ1yjRSEgN C+yyR/td+kqB+gVJbumOaUo8sAA5pcX3iKPlDECJCgS1Gnfcx/da0+7nBAkjNmSdnq DC2uKsWcPco1A== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 7C6351801C7 for ; Wed, 3 Sep 2025 22:37:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from 02a.hosted.hey.com (02a.hosted.hey.com [204.62.114.140]) (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 ; Wed, 3 Sep 2025 22:37:01 +0000 (UTC) Received: from hey.com (bigip-vip-new.rw-ash-int.37signals.com [10.20.0.24]) by 02.hosted.hey.com (Postfix) with ESMTP id 47D357FD6D; Wed, 3 Sep 2025 22:38:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=archte.ch; s=heymail; t=1756939109; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to; bh=bAy3M7UJuT2WBn9MNI6+OtaUx6avV3CBMOjZZgaBYY0=; b=oJX+1K6fu+6vL57CQYBA1zs57F1iUndR4JEsKBMl2lQbieUr/HkaRwNySJu2T8G/aMHLZ9 /v8i6nsxi3CC3fw3yTyvbRAtOFHNuese3BtYyK0/YD3HmEHlGIOUUkVOeAv5kzQiZ/a7tj zrsSfKaqvkf9gBVEYx66aWQLh5nPludD+2XI10bG/0bO7paZZ3rWP9fA7v5QkJ9u5haumI V3SDhTzU02BuWPdZDoMxrfI6txDLi19B7qQxIl4K8fnwCBVCYqTgujzbM7FiXA2/jgAbeI maKDIQHCPn28jrTc82qmH93/4uHS921vn9YM+MfgjwX+3o+k7cUxfoOIN1oz8g== Date: Thu, 04 Sep 2025 00:38:27 +0200 To: PHP internals list , Morgan Message-ID: <6430496586734af7d618fe7657fc4a1652e293df@hey.com> In-Reply-To: Subject: Re: [PHP-DEV] PDO\Sqlite: Add transaction mode attribute Precedence: list list-help: list-post: List-Id: x-ms-reactions: disallow Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_68b8c36416d52_5620148298a4"; charset=UTF-8 Content-Transfer-Encoding: 7bit From: samuel@archte.ch (=?UTF-8?B?U2FtdWVsIMWgdGFuY2w=?=) References: ----==_mimepart_68b8c36416d52_5620148298a4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, Is there anything I could do here to get this reviewed before the 8.5 release? As mentioned earlier the proposed implementation should not be subject to the feature freeze. Thank you. Samuel On August 12, 2025, "Samuel =C5=A0tancl" wrote: > By enums I'm assuming you mean PHP enums. That could work and would > solve my issue of trying to represent the values of the attribute > (only thing I'm not sure about is Pdo\SqliteTransactionMode being > directly in the Pdo namespace). I've included a sample implementation > in this comment src/pull/19317#issuecomment-3177353751> > > On August 12, 2025, Morgan wrote: > > On 2025-08-12 07:35, Samuel =C5=A0tancl wrote: > > > > > > Hi, I've opened a PR adding a new attribute to PDO\Sqlite: > > https:// > > > github.com/php/php-src/pull/19317 < > src/>=C2=A0 > > > pull/19317?=C2=A0 > > > > > notification_referrer_id=3DNT_kwDOAfgLhrQxNzkxMjcwMjYzOTozMzAzMzA5NA#= issuecomment- > > 3176177745> > > >=C2=A0 > > As far as the form the attribute takes goes, an Enum with the > > values=C2=A0 > > DEFERRED/IMMEDIATE/EXCLUSIVE would do the job. > > > > (As for calling it an attribute, I thought at first that what was > > being=C2=A0 > > suggested was an Attribute, rather than a connection option.) > ----==_mimepart_68b8c36416d52_5620148298a4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

Is there anything I could do here to get this reviewed = before the 8.5 release? As mentioned earlier the proposed implementation = should not be subject to the feature freeze.

https://github.com/php/php-src/pull/1931= 7

Thank you.

Samuel

On August = 12, 2025, "Samuel =C5=A0tancl" <samuel@archte.ch> wrote:<= /div>
By enums I'm assuming you mean PHP enums. That could= work and would solve my issue of trying to represent the values of the a= ttribute (only thing I'm not sure about is Pdo\SqliteTransactionMode = being directly in the Pdo namespace). I've included a sample implemen= tation in this comment https://github.com/php/php-src/pull/19317#iss= uecomment-3177353751

On August 12, 2025, Morgan <weedpacket= @varteg.nz> wrote:
On 2025-08-12 07:35, Samuel = =C5=A0tancl wrote:


> Hi, = I've opened a PR adding a new attribute to PDO\Sqlite: https://
&= gt; github.com/php/php-src/pull/19317 <https://github.com/php/php-src/=C2=A0
> pull/19317= ?=C2=A0
> notification_referrer_id=3DNT_kwDOAfgLhrQxNzkxMjcwMjYzOTo= zMzAzMzA5NA#issuecomment-3176177745>
>=C2=A0
As far as the fo= rm the attribute takes goes, an Enum with the values=C2=A0
DEFERRED/IM= MEDIATE/EXCLUSIVE would do the job.

(As for calling it an attribut= e, I thought at first that what was being=C2=A0
suggested was an Attri= bute, rather than a connection option.)
----==_mimepart_68b8c36416d52_5620148298a4--