aboutsummaryrefslogtreecommitdiff
path: root/tracer
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-09-20 14:47:07 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-09-20 14:47:07 +0200
commit27f66487bc50ee5086c22f5831d72e4669fba084 (patch)
treeb4ec5777429f3fde89d2c5b149be5224f4d0efc0 /tracer
parent7743e389865f12decea06eb11380f5b0e53a283b (diff)
Rename store() to update()
Diffstat (limited to 'tracer')
-rw-r--r--tracer/object/driver.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/tracer/object/driver.cxx b/tracer/object/driver.cxx
index 0d84d0f..c8258b8 100644
--- a/tracer/object/driver.cxx
+++ b/tracer/object/driver.cxx
@@ -169,7 +169,7 @@ main ()
cout << "s 2" << endl;
}
- // store
+ // update
//
cout << "\ntest 010" << endl;
{
@@ -177,13 +177,13 @@ main ()
cout << "s 1" << endl;
auto_ptr<object> o1 (db.load<object> (1));
cout << "s 2" << endl;
- db.store (*o1);
+ db.update (*o1);
cout << "s 3" << endl;
t.commit ();
cout << "s 4" << endl;
}
- // store (not exist)
+ // update (not exist)
//
cout << "\ntest 011" << endl;
{
@@ -192,7 +192,7 @@ main ()
cout << "s 1" << endl;
try
{
- db.store (o1);
+ db.update (o1);
}
catch (const object_not_persistent&)
{