summaryrefslogtreecommitdiff
path: root/odb/mysql/statement.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-09-10 12:57:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-09-10 12:57:53 +0200
commit97916660cebbf590b6c1cdaa586930eca8997b8e (patch)
tree94823af73089e5234448b78543e29ca852dc3fc5 /odb/mysql/statement.hxx
parent763f4c740164da99d280ed053383b1c27f720e37 (diff)
Add support for result caching
Diffstat (limited to 'odb/mysql/statement.hxx')
-rw-r--r--odb/mysql/statement.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/odb/mysql/statement.hxx b/odb/mysql/statement.hxx
index 05deb4d..bcba2c6 100644
--- a/odb/mysql/statement.hxx
+++ b/odb/mysql/statement.hxx
@@ -86,6 +86,9 @@ namespace odb
void
execute ();
+ void
+ cache ();
+
result
fetch ();
@@ -103,6 +106,8 @@ namespace odb
query_statement& operator= (const query_statement&);
private:
+ bool cached_;
+
binding& image_;
std::size_t image_version_;