aboutsummaryrefslogtreecommitdiff
path: root/mysql
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 /mysql
parent7743e389865f12decea06eb11380f5b0e53a283b (diff)
Rename store() to update()
Diffstat (limited to 'mysql')
-rw-r--r--mysql/truncation/driver.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/mysql/truncation/driver.cxx b/mysql/truncation/driver.cxx
index eca11cd..d4e50c6 100644
--- a/mysql/truncation/driver.cxx
+++ b/mysql/truncation/driver.cxx
@@ -84,7 +84,7 @@ main (int argc, char* argv[])
o.str_ = longer_str;
transaction t (db->begin_transaction ());
- db->store (o);
+ db->update (o);
t.commit ();
}
@@ -138,14 +138,14 @@ main (int argc, char* argv[])
// This forces buffer growth in the middle of result iteration.
//
- db->store (o);
+ db->update (o);
++i;
assert (i->str_ == "test string");
o.id_ = i->id_;
o.str_ = longer_str;
- db->store (o);
+ db->update (o);
++i;
assert (i->str_ == "test string");