diff options
Diffstat (limited to 'mysql')
-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"); |