diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-20 14:47:07 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-20 14:47:07 +0200 |
commit | 27f66487bc50ee5086c22f5831d72e4669fba084 (patch) | |
tree | b4ec5777429f3fde89d2c5b149be5224f4d0efc0 /common | |
parent | 7743e389865f12decea06eb11380f5b0e53a283b (diff) |
Rename store() to update()
Diffstat (limited to 'common')
-rw-r--r-- | common/lifecycle/driver.cxx | 2 | ||||
-rw-r--r-- | common/threads/driver.cxx | 2 |
2 files changed, 2 insertions, 2 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 (); } diff --git a/common/threads/driver.cxx b/common/threads/driver.cxx index 9703e29..14ca172 100644 --- a/common/threads/driver.cxx +++ b/common/threads/driver.cxx @@ -62,7 +62,7 @@ struct task auto_ptr<object> o (db_.load<object> (id)); assert (o->str_ == "frist object"); o->str_ = "another value"; - db_.store (*o); + db_.update (*o); t.commit (); } |