[glom] MySQL backend: Removed some unnused variables.



commit e0937d35384efee9b56567da590cdccdbf862f11
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Feb 4 13:35:41 2013 +0100

    MySQL backend: Removed some unnused variables.
    
            * glom/libglom/connectionpool_backends/mysql_self.[h|cc]:
            m_saved_database_name was set not used anywhere.

 ChangeLog                                          |    7 +++++++
 glom/libglom/connectionpool_backends/mysql_self.cc |    2 --
 glom/libglom/connectionpool_backends/mysql_self.h  |    2 +-
 3 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 50229cb..0d56e2c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2013-02-04  Murray Cumming  <murrayc murrayc com>
 
+        MySQL backend: Removed some unnused variables.
+
+        * glom/libglom/connectionpool_backends/mysql_self.[h|cc]:
+        m_saved_database_name was set not used anywhere.
+
+2013-02-04  Murray Cumming  <murrayc murrayc com>
+
         test_document_load_translations: Update the translations count.
 
         * tests/test_document_load_translations.cc:
diff --git a/glom/libglom/connectionpool_backends/mysql_self.cc b/glom/libglom/connectionpool_backends/mysql_self.cc
index 49919c4..53d24fd 100644
--- a/glom/libglom/connectionpool_backends/mysql_self.cc
+++ b/glom/libglom/connectionpool_backends/mysql_self.cc
@@ -644,8 +644,6 @@ Glib::RefPtr<Gnome::Gda::Connection> MySQLSelfHosted::connect(const Glib::ustrin
   }
 
   //Save the connection details _only_ for later debug use:
-  
-  m_saved_database_name = database;
   m_saved_username = username;
   m_saved_password = password;
   return result;
diff --git a/glom/libglom/connectionpool_backends/mysql_self.h b/glom/libglom/connectionpool_backends/mysql_self.h
index 828bd0f..f0d2241 100644
--- a/glom/libglom/connectionpool_backends/mysql_self.h
+++ b/glom/libglom/connectionpool_backends/mysql_self.h
@@ -86,7 +86,7 @@ private:
   bool m_network_shared;
   
   //These are remembered in order to use them to issue the shutdown command via mysqladmin:
-  Glib::ustring m_saved_database_name, m_saved_username, m_saved_password;
+  Glib::ustring m_saved_username, m_saved_password;
 
   bool m_temporary_password_active; //Whether the password is an initial temporary one.
   Glib::ustring m_initial_password_to_set, m_initial_username_to_set;



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