aboutsummaryrefslogtreecommitdiff
path: root/common/lifecycle/driver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'common/lifecycle/driver.cxx')
-rw-r--r--common/lifecycle/driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/lifecycle/driver.cxx b/common/lifecycle/driver.cxx
index a7be6d4..5518a40 100644
--- a/common/lifecycle/driver.cxx
+++ b/common/lifecycle/driver.cxx
@@ -76,7 +76,7 @@ main (int argc, char* argv[])
transaction t (db->begin_transaction ());
auto_ptr<object> o (db->load<object> (1));
o->str_ = "value 2";
- db->store (*o);
+ db->update (*o);
t.commit ();
}