]> git.sur5r.net Git - bacula/bacula/commitdiff
Lets not use the mdb->transaction bool but create a private one named mdb->explicit_c...
authorMarco van Wieringen <mvw@planets.elm.net>
Wed, 21 Apr 2010 17:50:38 +0000 (19:50 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:53:43 +0000 (16:53 +0200)
bacula/src/cats/cats.h

index 01176ef9df25863ab4531e2b656890c0685e16cb..a340b79400ddf5c9380b929514f2c452b6d6ca39 100644 (file)
@@ -581,6 +581,7 @@ struct B_DB {
    uint32_t cached_path_id;
    bool allow_transactions;       /* transactions allowed */
    bool transaction;              /* transaction started */
+   bool explicit_commit;          /* do an explicit commit after each query */
    int changes;                   /* changes made to db */
    POOLMEM *fname;                /* Filename only */
    POOLMEM *path;                 /* Path only */