aboutsummaryrefslogtreecommitdiff
path: root/mysql/types
diff options
context:
space:
mode:
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 ();