Displaying 4 results from an estimated 4 matches for "in_transaction".
2004 May 05
1
buffered tables, sessions, and transactions
...implemented transaction
methods. The idea is to allow a group of operations to be specified as
being applied as a unit. Either they all are applied, or none are.
http://www.xapian.org/docs/apidoc/html/classXapian_1_1WritableDatabase.html#a7
This is actually very easy to implement like so:
* begin_transaction flushes any pending changes and sets an
"in_transaction" flag
* if "in_transaction" is set, we ignore explicit flushes and don't autoflush
* cancel_transaction closes and reopens the Btree table (or calls a
new method of Btree which has this effect but without all the...
2017 Mar 30
4
possible memory leak in ldb module while dbcheck on RODC
An embedded and charset-unspecified text was scrubbed...
Name: memory_profiler.txt
URL: <http://lists.samba.org/pipermail/samba/attachments/20170330/f5d10ac9/memory_profiler.txt>
2017 Mar 31
2
possible memory leak in ldb module while dbcheck on RODC
...ot;local_oid:%s:0" %
> > dsdb.DSDB_CONTROL_DBCHECK]
> > - self.samdb.modify(m, controls=controls, validate=validate)
> > +# self.samdb.modify(m, controls=controls, validate=validate)
> > except Exception, err:
> > if self.in_transaction:
> > raise CommandError("%s : %s" % (msg, err))
> >
> >
> >
> > 3) My first idea was that it is python problem with starting c
> > modules, but then i found pyldb.c and py_ldb_modify function in it.
> > Commenting out the line wit...
2017 Mar 31
0
possible memory leak in ldb module while dbcheck on RODC
...ontrols = controls + ["local_oid:%s:0" %
> dsdb.DSDB_CONTROL_DBCHECK]
> - self.samdb.modify(m, controls=controls, validate=validate)
> +# self.samdb.modify(m, controls=controls, validate=validate)
> except Exception, err:
> if self.in_transaction:
> raise CommandError("%s : %s" % (msg, err))
>
>
>
> 3) My first idea was that it is python problem with starting c modules,
> but then i found pyldb.c and py_ldb_modify function in it. Commenting out
> the line with ldb_request memory stays on th...