aboutsummaryrefslogtreecommitdiff
path: root/mysql/types
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
commit23bdd06c5ec17206d2dfb75ad55b3c613921dce7 (patch)
tree27585a15ff7e7d15e8c5de655571b35669e23fbd /mysql/types
parent125f9cbb22ab368f40b93bc3013846b812124b02 (diff)
Rename begin_transaction() to begin()
Diffstat (limited to 'mysql/types')
-rw-r--r--mysql/types/driver.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql/types/driver.cxx b/mysql/types/driver.cxx
index 2a6c94e..ef87afd 100644
--- a/mysql/types/driver.cxx
+++ b/mysql/types/driver.cxx
@@ -83,7 +83,7 @@ main (int argc, char* argv[])
o.set_.insert ("blue");
{
- transaction t (db->begin_transaction ());
+ transaction t (db->begin ());
db->persist (o);
t.commit ();
}
@@ -91,7 +91,7 @@ main (int argc, char* argv[])
//
//
{
- transaction t (db->begin_transaction ());
+ transaction t (db->begin ());
auto_ptr<object> o1 (db->load<object> (1));
t.commit ();