[glom/gtkmm4v4] gtkmm4: Adapt to Gnome::Gda::TransactionIsolation as enum class.



commit 9a38c90a09e496dcc28c6fa9ada951cd93624c7e
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Apr 28 09:15:03 2017 +0200

    gtkmm4: Adapt to Gnome::Gda::TransactionIsolation as enum class.

 glom/libglom/connectionpool_backends/mysql.cc    |    2 +-
 glom/libglom/connectionpool_backends/postgres.cc |    2 +-
 glom/libglom/connectionpool_backends/sqlite.cc   |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/glom/libglom/connectionpool_backends/mysql.cc b/glom/libglom/connectionpool_backends/mysql.cc
index 9e14ea6..64ec5f0 100644
--- a/glom/libglom/connectionpool_backends/mysql.cc
+++ b/glom/libglom/connectionpool_backends/mysql.cc
@@ -178,7 +178,7 @@ bool MySQL::change_columns(const Glib::RefPtr<Gnome::Gda::Connection>& connectio
 
   try
   {
-    connection->begin_transaction(TRANSACTION_NAME, Gnome::Gda::TRANSACTION_ISOLATION_SERVER_DEFAULT); // 
TODO: What does the transaction isolation do?
+    connection->begin_transaction(TRANSACTION_NAME, Gnome::Gda::TransactionIsolation::SERVER_DEFAULT); // 
TODO: What does the transaction isolation do?
   }
   catch(const Glib::Error& ex)
   {
diff --git a/glom/libglom/connectionpool_backends/postgres.cc 
b/glom/libglom/connectionpool_backends/postgres.cc
index 5cf4bc3..999a621 100644
--- a/glom/libglom/connectionpool_backends/postgres.cc
+++ b/glom/libglom/connectionpool_backends/postgres.cc
@@ -167,7 +167,7 @@ bool Postgres::change_columns(const Glib::RefPtr<Gnome::Gda::Connection>& connec
 
   try
   {
-    connection->begin_transaction(TRANSACTION_NAME, Gnome::Gda::TRANSACTION_ISOLATION_SERVER_DEFAULT); // 
TODO: What does the transaction isolation do?
+    connection->begin_transaction(TRANSACTION_NAME, Gnome::Gda::TransactionIsolation::SERVER_DEFAULT); // 
TODO: What does the transaction isolation do?
   }
   catch(const Glib::Error& ex)
   {
diff --git a/glom/libglom/connectionpool_backends/sqlite.cc b/glom/libglom/connectionpool_backends/sqlite.cc
index 3577532..23ccbb4 100644
--- a/glom/libglom/connectionpool_backends/sqlite.cc
+++ b/glom/libglom/connectionpool_backends/sqlite.cc
@@ -334,7 +334,7 @@ bool Sqlite::recreate_table(const Glib::RefPtr<Gnome::Gda::Connection>& connecti
 
   try
   {
-    connection->begin_transaction(TRANSACTION_NAME, Gnome::Gda::TRANSACTION_ISOLATION_SERVER_DEFAULT);
+    connection->begin_transaction(TRANSACTION_NAME, Gnome::Gda::TransactionIsolation::SERVER_DEFAULT);
   }
   catch(const Glib::Error& ex)
   {


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