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

List:       bacula-commits
Subject:    [Bacula-commits] [bacula.org] Bacula Community source branch
From:       git () bacula ! org
Date:       2011-04-16 12:22:39
Message-ID: 20110416122239.CEBF71CD4AC () bacula ! bacula ! org
[Download RAW message or body]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Bacula Community source".

The branch, Branch-5.1 has been updated
       via  e97e5912748924f5097daf2cec6a7b6c42db9e75 (commit)
      from  ae721024b04eec87e899473703e8b5dfd88b7a0b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e97e5912748924f5097daf2cec6a7b6c42db9e75
Author: Kern Sibbald <kern@sibbald.com>
Date:   Sat Apr 16 14:16:49 2011 +0200

    Fix Sqlite driver seg fault

-----------------------------------------------------------------------

Summary of changes:
diff --git a/bacula/src/cats/sqlite.c b/bacula/src/cats/sqlite.c
index 4850f7a..d26632c 100644
--- a/bacula/src/cats/sqlite.c
+++ b/bacula/src/cats/sqlite.c
@@ -225,9 +225,9 @@ void B_DB_SQLITE::db_close_database(JCR *jcr)
 {
    db_end_transaction(jcr);
    P(mutex);
-   sql_free_result();
    m_ref_count--;
    if (m_ref_count == 0) {
+      sql_free_result();
       db_list->remove(this);
       if (m_connected && m_db_handle) {
          sqlite3_close(m_db_handle);


hooks/post-receive
-- 
Bacula Community source

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
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