Hi Ayesh,
> 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
>
> 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
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
Hi,
Il 27/11/2023 10:23, Saki Takamachi ha scritto:
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
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
Hi Saki,
Il 26/11/2023 03:30, Saki Takamachi ha scritto:
The behavior in this case varies depending on the DB driver and is not unified.
MySQL, OCI, ODBC, and Firebird currently support PDO autocommit mode.
- MySQL always sets the new mode regardless of the state of the transaction,
Hi internals,
The following code:
```
$db = new PDO(/* omission */, [PDO::ATTR_ATUOCOMMIT => 0]);
$db->beginTransaction();
$db->setAttribute(PDO::ATTR_ATUOCOMMIT, 1);
```
The behavior in this case varies depending on the DB driver and is not unified.
MySQL, OCI, ODBC, and Firebird currently