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 /mysql/truncation | |
parent | 7743e389865f12decea06eb11380f5b0e53a283b (diff) |
Rename store() to update()
Diffstat (limited to 'mysql/truncation')
-rw-r--r-- | mysql/truncation/driver.cxx | 6 |
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"); |