Subject | Re: [firebird-php] Changing default (IBASE_DEFAULT) transaction isolation level |
---|---|
Author | masotti |
Post date | 2012-09-11T07:58:22Z |
Hi all,
On 10/09/2012 14:48, Lester Caine wrote:
> Jiri Cincura wrote:
> > Hi *,
> >
> > does anybody know how to change the default transaction isolation
> > level for any ibase_xxx/fbird_xxx related functions? I have a PHP
> > application with a lot of fbird_query calls (some even in
> > call_user_func_array) all over the place and I'd like to use different
> > TIL. I'm trying to avoid rewriting every fbird_query to use my
> > manually created new transaction as that would take long time.
>
> I've always meant to check up on the message in the manual ...
> "The default transaction settings are to be used. This default is
> determined by
> the client library, which defines it as
> IBASE_WRITE|IBASE_CONCURRENCY|IBASE_WAIT
> in most cases."
It seems a interface design fault, in runtime configuration there should
be a ibase.default_trans_isolation parameter to be set for the
interface, but there's not.
BTW: there's not for OCI8, ProsgresSQL, MySQL...
Ciao.
Mimmo.