]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Change mysql my_bool to bool as it was removed from mysql
authorKern Sibbald <kern@sibbald.com>
Wed, 1 May 2019 08:29:35 +0000 (10:29 +0200)
committerKern Sibbald <kern@sibbald.com>
Wed, 1 May 2019 08:29:47 +0000 (10:29 +0200)
bacula/src/cats/mysql.c

index ca9c60952b32b98f1c9762c06c90433904cce05e..fc73dc62b0dfa3678e80647cbd4870ef61fd9752 100644 (file)
@@ -1,7 +1,7 @@
 /* 
    Bacula(R) - The Network Backup Solution
 
-   Copyright (C) 2000-2017 Kern Sibbald
+   Copyright (C) 2000-2018 Kern Sibbald
 
    The original author of Bacula is Kern Sibbald, with contributions
    from many others, a complete list can be found in the file AUTHORS.
@@ -198,7 +198,7 @@ bool BDB_MYSQL::bdb_open_database(JCR *jcr)
    BDB_MYSQL *mdb = this; 
    bool retval = false; 
    int errstat; 
-   my_bool reconnect = 1;
+   bool reconnect = true;
  
    P(mutex); 
    if (mdb->m_connected) {