git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7666
91ce42f0-d328-0410-95d8-
f526ca767f89
uint32_t bacula_db_version = 0;
-int db_type = -1;
+int db_type = -1; /* SQL engine type index */
/* Forward referenced subroutines */
void print_dashes(B_DB *mdb);
int multi_db=false;
#ifdef HAVE_BATCH_FILE_INSERT
- multi_db=true; /* we force a new connexion only if batch insert is enabled */
+ multi_db=true; /* we force a new connexion only if batch insert is enabled */
#endif
if (!jcr->db_batch) {
#include "bacula.h"
#include "cats.h"
+extern int db_type;
+
#if HAVE_SQLITE3 || HAVE_MYSQL || HAVE_SQLITE || HAVE_POSTGRESQL || HAVE_DBI
/* -----------------------------------------------------------------------