aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-09-28 20:14:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-09-28 20:14:08 +0200
commitc6e025e9dd0d47699f8b38616dc867f49cc25c94 (patch)
tree1d912b2f423b64431deb64215a7e3f93d2c67ce7
parent4038e3a4e4fa9ee4799d3d51392ac2af2f9e1394 (diff)
Rename begin_transaction() to begin()
-rw-r--r--odb/mysql/database.cxx2
-rw-r--r--odb/mysql/database.hxx2
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>