[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bacula-commits
Subject:    [Bacula-commits] SF.net SVN: bacula:[7666] trunk/bacula/src/cats
From:       kerns () users ! sourceforge ! net
Date:       2008-09-29 21:28:41
Message-ID: E1KkQIL-0000sJ-JC () dn4whf1 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Revision: 7666
          http://bacula.svn.sourceforge.net/bacula/?rev=7666&view=rev
Author:   kerns
Date:     2008-09-29 21:28:32 +0000 (Mon, 29 Sep 2008)

Log Message:
-----------
Fix Win32 build after Joao's patch

Modified Paths:
--------------
    trunk/bacula/src/cats/sql.c
    trunk/bacula/src/cats/sql_list.c

Modified: trunk/bacula/src/cats/sql.c
===================================================================
--- trunk/bacula/src/cats/sql.c	2008-09-29 20:53:51 UTC (rev 7665)
+++ trunk/bacula/src/cats/sql.c	2008-09-29 21:28:32 UTC (rev 7666)
@@ -50,7 +50,7 @@
 
 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);
@@ -710,7 +710,7 @@
    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) {

Modified: trunk/bacula/src/cats/sql_list.c
===================================================================
--- trunk/bacula/src/cats/sql_list.c	2008-09-29 20:53:51 UTC (rev 7665)
+++ trunk/bacula/src/cats/sql_list.c	2008-09-29 21:28:32 UTC (rev 7666)
@@ -42,6 +42,8 @@
 #include "bacula.h"
 #include "cats.h"
 
+extern int db_type;
+
 #if    HAVE_SQLITE3 || HAVE_MYSQL || HAVE_SQLITE || HAVE_POSTGRESQL || HAVE_DBI
 
 /* -----------------------------------------------------------------------


This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-commits mailing list
Bacula-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic