Re: [PDO] PDO transaction isolation level and firebird
| From: | Vjacheslav V. Borisov | Date: | Fri, 27 Sep 2013 10:20:57 +0000 |
| Subject: | Re: [PDO] PDO transaction isolation level and firebird | ||
| References: | 1 2 3 4 | Groups: | php.pdo |
| Request: | Send a blank email to pdo+get-528@lists.php.net to get a copy of this message | ||
The re is no direct 1-to-1 match of ansi to firebird isolation levels
see http://www.devrace.com/en/fibplus/articles/479.php
So I deceided to make FB_ transaction isolation level constants
I can declare ISO isolation levels at PDO level
and match
(ISO) READ COMMITTED = (FIREBIRD) READ COMMITTED RECORD_VERSION
(ISO) SERIALIZABLE = (FIREBIRD) SNAPSHOT
but another isolation levels do not match
2013/9/27 Matteo Beccati <php@beccati.com>
> Hi,
>
> On 25/09/2013 06:53, Vjacheslav V. Borisov wrote:
> > Ok, I submitted patch to bug #63105
> > https://bugs.php.net/bug.php?id=63105
>
> database driver specific attributes are discouraged, unless they
> specifically apply to that driver only. Now, transaction isolation level
> seems to be quite a common feature that is described by the SQL
> standard... I'd be very reluctant to accept the patch as-is.
>
>
> Cheers
> --
> Matteo Beccati
>
> Development & Consulting - http://www.beccati.com/
>