[glom] Fix typos to fix the build.



commit f327da01c20dc18650e5a3d07ae4a44acd3e4dbe
Author: Michael Hasselmann <michaelh openismus com>
Date:   Fri Aug 21 15:36:22 2009 +0200

    Fix typos to fix the build.
    Bug #592576

 ChangeLog                                      |    5 +++++
 glom/libglom/connectionpool_backends/sqlite.cc |   11 +++++------
 2 files changed, 10 insertions(+), 6 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 83f11cb..161bebe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-08-21  Michael Hasselmann  <michaelh openismus com>
+
+	* glom/libglom/connectionpool_backends/sqlite.cc: Fix typos to fix the build.
+	Bug #592576 
+
 2009-08-21  Murray Cumming  <murrayc murrayc com>
 
 	Document::get/set_connection_user(): Don't save this in the document.
diff --git a/glom/libglom/connectionpool_backends/sqlite.cc b/glom/libglom/connectionpool_backends/sqlite.cc
index 8798619..fba574b 100644
--- a/glom/libglom/connectionpool_backends/sqlite.cc
+++ b/glom/libglom/connectionpool_backends/sqlite.cc
@@ -66,7 +66,7 @@ Glib::RefPtr<Gnome::Gda::Connection> Sqlite::connect(const Glib::ustring& databa
     {
       connection = Gnome::Gda::Connection::open_from_string("SQLite", 
         cnc_string, auth_string,
-        CONNECTION_OPTIONS_SQL_IDENTIFIERS_CASE_SENSITIVE);
+        Gnome::Gda::CONNECTION_OPTIONS_SQL_IDENTIFIERS_CASE_SENSITIVE);
     }
     catch(const Glib::Error& ex)
     {
@@ -74,7 +74,7 @@ Glib::RefPtr<Gnome::Gda::Connection> Sqlite::connect(const Glib::ustring& databa
     std::auto_ptr<Glib::Error> error;
     connection = Gnome::Gda::Connection::open_from_string("SQLite", 
       cnc_string, auth_string, 
-      CONNECTION_OPTIONS_SQL_IDENTIFIERS_CASE_SENSITIVE, error);
+      Gnome::Gda::CONNECTION_OPTIONS_SQL_IDENTIFIERS_CASE_SENSITIVE, error);
     if(error.get())
     {
       const Glib::Error& ex = *error.get();
@@ -107,7 +107,7 @@ bool Sqlite::create_database(const Glib::ustring& database_name, const Glib::ust
     Glib::RefPtr<Gnome::Gda::Connection> cnc = 
       Gnome::Gda::Connection::open_from_string("SQLite", 
         cnc_string, "",
-        CONNECTION_OPTIONS_SQL_IDENTIFIERS_CASE_SENSITIVE);
+        Gnome::Gda::CONNECTION_OPTIONS_SQL_IDENTIFIERS_CASE_SENSITIVE);
   }
   catch(const Glib::Error& ex)
   {
@@ -118,14 +118,13 @@ bool Sqlite::create_database(const Glib::ustring& database_name, const Glib::ust
   Glib::RefPtr<Gnome::Gda::Connection> cnc = 
     Gnome::Gda::Connection::open_from_string("SQLite", 
       cnc_string, "", 
-      CONNECTION_OPTIONS_SQL_IDENTIFIERS_CASE_SENSITIVE, error);
+      Gnome::Gda::CONNECTION_OPTIONS_SQL_IDENTIFIERS_CASE_SENSITIVE, error);
   if(error.get() != 0)
     return false
 #endif
-    
+
   return true;
 }
-#endif
 
 
 bool Sqlite::add_column_to_server_operation(const Glib::RefPtr<Gnome::Gda::ServerOperation>& operation, GdaMetaTableColumn* column, unsigned int i, std::auto_ptr<Glib::Error>& error)



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