]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl fix batch evry x files
authorEric Bollengier <eric@eb.homelinux.org>
Fri, 23 Mar 2007 22:34:50 +0000 (22:34 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Fri, 23 Mar 2007 22:34:50 +0000 (22:34 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4402 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/cats/sql_create.c

index 39d0dc42828947530e33c125339402455b023314..184dc6329da279cf871c12cd25b425667281ee00 100644 (file)
@@ -873,10 +873,10 @@ bool db_create_file_attributes_record(JCR *jcr, B_DB *mdb, ATTR_DBR *ar)
 
 
 /*
-   if (jcr->changes > 100000) {
+   if (bdb->changes > 100000) {
       db_write_batch_file_records(jcr);
-      jcr->changes = 0;
-      sql_batch_start(jcr, jcr->db_batch);
+      bdb->changes = 0;
+      sql_batch_start(jcr, bdb);
    }
 */