aboutsummaryrefslogtreecommitdiff
path: root/mysql/truncation/driver.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-09-20 14:24:18 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-09-20 14:24:18 +0200
commit7743e389865f12decea06eb11380f5b0e53a283b (patch)
tree1e8178a0d6cbf073bf90df301d0bc45ba9a04b23 /mysql/truncation/driver.cxx
parentd5fcf4c978ee0a8c4c6cc926ff02ab9d944f12b8 (diff)
Cache result by default
Diffstat (limited to 'mysql/truncation/driver.cxx')
-rw-r--r--mysql/truncation/driver.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/mysql/truncation/driver.cxx b/mysql/truncation/driver.cxx
index 76985f0..eca11cd 100644
--- a/mysql/truncation/driver.cxx
+++ b/mysql/truncation/driver.cxx
@@ -131,7 +131,6 @@ main (int argc, char* argv[])
transaction t (db->begin_transaction ());
result r (db->query<object1> (query::id >= 20));
- r.cache ();
result::iterator i (r.begin ());
o.id_ = i->id_;