Subject Re: [firebird-php] Changing default (IBASE_DEFAULT) transaction isolation level
Author mariuz
On Thu, Sep 13, 2012 at 12:36:46PM +0300, mariuz wrote:
> On Tue, Sep 11, 2012 at 09:58:22AM +0200, masotti wrote:
> > 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...
>
>
> add a bug/feature on php.net and if you have time a patch and i will add
>
also you can do pull requests directly on github ;)