aboutsummaryrefslogtreecommitdiff
path: root/tracer
diff options
context:
space:
mode:
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&)
{