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 09:23:15 +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-121814@lists.php.net to get a copy of this message
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. > > 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

« previous php.internals (#121814) next »