]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix batch file #ifdefing
authorKern Sibbald <kern@sibbald.com>
Sun, 18 Mar 2007 22:24:49 +0000 (22:24 +0000)
committerKern Sibbald <kern@sibbald.com>
Sun, 18 Mar 2007 22:24:49 +0000 (22:24 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4363 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/cats/sql_create.c

index e833715975732b54ade29886542b25ee265c116a..a689f9f613e59a29f6da128f8e25e3c9bc495454 100644 (file)
@@ -741,6 +741,7 @@ bool db_batch_end(B_DB *mdb, const char *error)
    return true;
 }
 
+#ifdef HAVE_BATCH_FILE_INSERT
 /* 
  * Returns 1 if OK
  *         0 if failed
@@ -814,7 +815,6 @@ bool db_write_batch_file_records(JCR *jcr)
    return true;
 }
 
-#ifdef HAVE_BATCH_FILE_INSERT
 /*
  * Create File record in B_DB
  *