Re: [PDO] PDO transaction isolation level and firebird

[email protected] ("Vjacheslav V. Borisov") Fri, 27 Sep 2013 14:20:57 +0400
Newsgroups php.pdo
Message-ID <CA+JxkLADnkC4W=S+Dga8AX-CY9ABxuwpgt3Y6VkH75OHkuRq4g@mail.gmail.com>
--e89a8f923c649a97ed04e75ad7fb
Content-Type: text/plain; charset=ISO-8859-1

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 <[email protected]>

> 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/
>

--e89a8f923c649a97ed04e75ad7fb--