diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-28 20:14:08 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-28 20:14:08 +0200 |
commit | 23bdd06c5ec17206d2dfb75ad55b3c613921dce7 (patch) | |
tree | 27585a15ff7e7d15e8c5de655571b35669e23fbd /common/auto/driver.cxx | |
parent | 125f9cbb22ab368f40b93bc3013846b812124b02 (diff) |
Rename begin_transaction() to begin()
Diffstat (limited to 'common/auto/driver.cxx')
-rw-r--r-- | common/auto/driver.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/auto/driver.cxx b/common/auto/driver.cxx index 4a65725..d912ad9 100644 --- a/common/auto/driver.cxx +++ b/common/auto/driver.cxx @@ -34,7 +34,7 @@ main (int argc, char* argv[]) object o2 ("two"); object o3 ("three"); - transaction t (db->begin_transaction ()); + transaction t (db->begin ()); db->persist (o1); db->persist (o2); db->persist (o3); @@ -50,7 +50,7 @@ main (int argc, char* argv[]) } { - transaction t (db->begin_transaction ()); + transaction t (db->begin ()); auto_ptr<object> o1 (db->load<object> (id1)); auto_ptr<object> o2 (db->load<object> (id2)); auto_ptr<object> o3 (db->load<object> (id3)); |