Re: [PDO] I want to unify the behavior when changing the autocommit mode setting while a transaction is open.

From: Date: Mon, 27 Nov 2023 11:02:12 +0000
Subject: Re: [PDO] I want to unify the behavior when changing the autocommit mode setting while a transaction is open.
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-121817@lists.php.net to get a copy of this message
> > Hi, > > > In the latter case, I suppose they would expect the behaviour to be compliant with the > > database standards. > > I may not have had this perspective. And this is a strong basis for explaining that different > drivers behave differently. > > I will continue with the current implementation and consider the optimal method for each > driver. > > I wanted to mention a recent RFC that passed its vote (https://wiki.php.net/rfc/pdo_driver_specific_subclasses). It proposes to add a PDO subclass for each driver, so we can make individual driver-specific functions and changes more visible at the API level. Unfortunately it did not make it to PHP 8.3, but the RFC vote indicates the trajectory everyone hopes to have in PDO. It was voted yes unanimously, so there is definitely a preference in majority of us to iron out the differences, but perhaps in a non-BC way, preferably making these inconsistencies obvious from the API level and not at the test/doc levels.

« previous php.internals (#121817) next »