diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-10 12:57:53 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-10 12:57:53 +0200 |
commit | 97916660cebbf590b6c1cdaa586930eca8997b8e (patch) | |
tree | 94823af73089e5234448b78543e29ca852dc3fc5 /odb/mysql/result.txx | |
parent | 763f4c740164da99d280ed053383b1c27f720e37 (diff) |
Add support for result caching
Diffstat (limited to 'odb/mysql/result.txx')
-rw-r--r-- | odb/mysql/result.txx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/odb/mysql/result.txx b/odb/mysql/result.txx index 9bbdf26..d0a65fa 100644 --- a/odb/mysql/result.txx +++ b/odb/mysql/result.txx @@ -73,5 +73,12 @@ namespace odb } } } + + template <typename T> + void result_impl<T>:: + cache () + { + statement_->cache (); + } } } |