[glom] Correct an error in the previous commit.



commit a36377e7e5b85d99abfed67f93b83238c8db9a7b
Author: Murray Cumming <murrayc murrayc com>
Date:   Thu Nov 10 13:29:50 2011 +0100

    Correct an error in the previous commit.
    
    * glom/libglom/connectionpool.cc: Remove a nonsense line of code that
    stopped connections from working.

 ChangeLog                      |    7 +++++++
 glom/libglom/connectionpool.cc |    1 -
 2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 5d74ce2..77677be 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-11-10  Murray Cumming  <murrayc murrayc com>
 
+	Correct an error in the previous commit.
+
+	* glom/libglom/connectionpool.cc: Remove a nonsense line of code that
+	stopped connections from working.
+
+2011-11-10  Murray Cumming  <murrayc murrayc com>
+
 	Added ConnectionPool::set_fake_connection().
 
 	* glom/libglom/connectionpool_backends/backend.h: connect():
diff --git a/glom/libglom/connectionpool.cc b/glom/libglom/connectionpool.cc
index dc676f5..39a1242 100644
--- a/glom/libglom/connectionpool.cc
+++ b/glom/libglom/connectionpool.cc
@@ -305,7 +305,6 @@ sharedptr<SharedConnection> ConnectionPool::connect()
     }
     else
     {
-      if(m_fake_connection)
       try
       {
         m_refGdaConnection = m_backend->connect(m_database, get_user(), get_password(), m_fake_connection);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]