diff options
-rw-r--r-- | odb/mysql/database.cxx | 2 | ||||
-rw-r--r-- | odb/mysql/database.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/odb/mysql/database.cxx b/odb/mysql/database.cxx index 8278e0e..9c9d791 100644 --- a/odb/mysql/database.cxx +++ b/odb/mysql/database.cxx @@ -210,7 +210,7 @@ namespace odb } transaction_impl* database:: - begin_transaction () + begin () { if (odb::transaction::has_current ()) throw already_in_transaction (); diff --git a/odb/mysql/database.hxx b/odb/mysql/database.hxx index 1075dc1..61e2b03 100644 --- a/odb/mysql/database.hxx +++ b/odb/mysql/database.hxx @@ -160,7 +160,7 @@ namespace odb public: virtual transaction_impl* - begin_transaction (); + begin (); public: details::shared_ptr<connection_type> |